'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', 'swift-performance-lite' => 'swift-performance-lite/performance.php', 'swift-performance' => 'swift-performance/performance.php', 'litespeed-cache' => 'litespeed-cache/litespeed-cache.php', 'wp-optimize' => 'wp-optimize/wp-optimize.php', ); if ( $settings['prefetch_links'] && is_premium() ) { $plugins['quicklink'] = 'quicklink/quicklink.php'; $plugins['flying-pages'] = 'flying-pages/flying-pages.php'; $plugins['instant-page'] = 'instant-page/instantpage.php'; } $callback = POWERED_CACHE_IS_NETWORK ? 'is_plugin_active_for_network' : 'is_plugin_active'; $plugins = array_filter( $plugins, $callback ); if ( 0 >= count( $plugins ) ) { return; } ?>

Powered Cache: Page caching needs to be activated in order to speed up your website. Please activate it on settings page', 'powered-cache' ), esc_url( $settings_page ) ); ?>

%s is not found in wp-config.php.', 'powered-cache' ), 'define("WP_CACHE", true);' ); } if ( defined( 'WP_CACHE' ) && WP_CACHE && ( ! defined( 'POWERED_CACHE_PAGE_CACHING' ) || true !== POWERED_CACHE_PAGE_CACHING ) ) { /* translators: %s: advanced-cache.php drop-in path */ $err['powered_cache_page_cache'] = sprintf( __( '%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; } ?>

%s exist, writable and accessible on your server.', 'powered-cache' ), $object_cache_dropin ); ?>

%s exist and accessible on your server.', 'powered-cache' ), $broken_file ); ?>

.htaccess couldn\'t be found on your server. Please create a new .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; } ?>

Powered Cache: One or more plugins have been activated or deactivated; consider clearing the cache if these changes impact your site\'s front end.', 'powered-cache' ); $dismiss_nonce = wp_create_nonce( 'powered_cache_dismiss_notice_ajax' ); ?>

esc_html__( 'Permission denied', 'powered-cache' ) ) ); } if ( empty( $_POST['notice'] ) ) { wp_send_json_error( array( 'message' => esc_html__( 'Notice ID missing', 'powered-cache' ) ) ); } $notice = sanitize_text_field( wp_unslash( $_POST['notice'] ) ); if ( POWERED_CACHE_IS_NETWORK ) { delete_site_transient( $notice ); } else { delete_transient( $notice ); } wp_send_json_success( array( 'message' => esc_html__( 'Notice dismissed', 'powered-cache' ) ) ); } /** * Display a notice when development mode is active * * @return void * @since 3.6 * @related \PoweredCache\DevMode */ function maybe_display_dev_mode_notice() { if ( ! \PoweredCache\Utils\is_dev_mode_active() ) { return; } if ( ! current_user_can( 'manage_options' ) ) { return; } // Only display on Powered Cache settings page $current_screen = get_current_screen(); if ( ! $current_screen || ( ! isset( $current_screen->id ) || false === strpos( $current_screen->id, 'powered-cache' ) ) ) { return; } ?>