'hummingbird-performance/wp-hummingbird.php', 'wp-rocket' => 'wp-rocket/wp-rocket.php', 'w3-total-cache' => 'w3-total-cache/w3-total-cache.php', 'wp-super-cache' => 'wp-super-cache/wp-cache.php', 'hyper-cache' => 'hyper-cache/plugin.php', 'hyper-cache-extended' => 'hyper-cache-extended/plugin.php', 'wp-fast-cache' => 'wp-fast-cache/wp-fast-cache.php', 'flexicache' => 'flexicache/wp-plugin.php', 'wp-fastest-cache' => 'wp-fastest-cache/wpFastestCache.php', 'wp-http-compression' => 'wp-http-compression/wp-http-compression.php', 'wordpress-gzip-compression' => 'wordpress-gzip-compression/ezgz.php', 'gzip-ninja-speed-compression' => 'gzip-ninja-speed-compression/gzip-ninja-speed.php', 'speed-booster-pack' => 'speed-booster-pack/speed-booster-pack.php', 'wp-performance-score-booster' => 'wp-performance-score-booster/wp-performance-score-booster.php', 'check-and-enable-gzip-compression' => 'check-and-enable-gzip-compression/richards-toolbox.php', ); $callback = POWERED_CACHE_IS_NETWORK ? 'is_plugin_active_for_network' : 'is_plugin_active'; $plugins = array_filter( $plugins, $callback ); if ( 0 >= count( $plugins ) ) { return; } ?>
%s file was edited or deleted. You can recreate the correct configuration files by saving Powered Cache settings.', 'powered-cache' ), basename( WP_CONTENT_DIR ) . '/advanced-cache.php' );
}
if ( defined( 'POWERED_CACHE_PAGE_CACHING_HAS_PROBLEM' ) && POWERED_CACHE_PAGE_CACHING_HAS_PROBLEM ) {
/* translators: %s: page-cache.php drop-in path */
$err['powered_cache_page_cache_has_problem'] = sprintf( __( 'Powered Cache could not access dropin. Please check %s exist and accessible on your server.', 'powered-cache' ), POWERED_CACHE_DROPIN_DIR . 'page-cache.php' );
}
// everything ok
if ( empty( $err ) ) {
return;
}
// dont show when settings just saved
if ( did_action( 'powered_cache_settings_saved' ) ) {
return;
}
$capability = POWERED_CACHE_IS_NETWORK ? 'manage_network' : 'manage_options';
if ( ! current_user_can( $capability ) ) {
return;
}
?>
.htaccess file. (?)', 'powered-cache' );
} elseif ( ! is_writeable( $htaccess_file ) ) {
$message = __( 'Oh no! It looks .htaccess file is not writable. Please make sure it is writable by the application server. Your website will be much faster when .htaccess is configured for Powered Cache.', 'powered-cache' );
}
if ( empty( $message ) ) {
return;
}
?>