PluginProbe
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score / trunk
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score vtrunk
trunk 1.0 1.0.1 1.1 1.1.1 1.1.2 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1 2.1.1 2.1.2 2.2 2.2.1 All 69 releases
← All changes | powered-cache.php +28 -7 2.0.3trunk View file →
@@ -1,13 +1,13 @@
1 1 <?php
2 2 /**
3 3 * Plugin Name: Powered Cache
4 4 * Plugin URI: https://poweredcache.com
5 - * Description: The most powerful caching and performance suite for WordPress. Easily Improve PageSpeed & Web Vitals Score.
6 - * Version: 2.0.3
7 - * Requires at least: 5.0
8 - * Requires PHP: 5.6
9 - * Author: PoweredCache
5 + * Description: Powered Cache is the most powerful caching and performance suite for WordPress, designed to easily improve your PageSpeed and Web Vitals Score.
6 + * Version: 3.7.3
7 + * Requires at least: 5.7
8 + * Requires PHP: 7.4
9 + * Author: Powered Cache
10 10 * Author URI: https://poweredcache.com
11 11 * License: GPL v2 or later
12 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13 13 * Text Domain: powered-cache
@@ -24,10 +24,10 @@
24 24 exit; // Exit if accessed directly.
25 25 }
26 26
27 27 // Useful global constants.
28 -define( 'POWERED_CACHE_VERSION', '2.0.3' );
29 -define( 'POWERED_CACHE_DB_VERSION', '2.0' );
28 +define( 'POWERED_CACHE_VERSION', '3.7.3' );
29 +define( 'POWERED_CACHE_DB_VERSION', '3.4' );
30 30 define( 'POWERED_CACHE_PLUGIN_FILE', __FILE__ );
31 31 define( 'POWERED_CACHE_URL', plugin_dir_url( __FILE__ ) );
32 32 define( 'POWERED_CACHE_PATH', plugin_dir_path( __FILE__ ) );
33 33 define( 'POWERED_CACHE_INC', POWERED_CACHE_PATH . 'includes/' );
@@ -94,8 +94,29 @@
94 94 $network_activated = Utils\is_network_wide( POWERED_CACHE_PLUGIN_FILE );
95 95 if ( ! defined( 'POWERED_CACHE_IS_NETWORK' ) ) {
96 96 define( 'POWERED_CACHE_IS_NETWORK', $network_activated );
97 97 }
98 +
99 +if ( Utils\is_dev_mode_active() ) {
100 + DevMode::setup();
101 +
102 + $frontend_request = ! (
103 + ( function_exists( 'is_admin' ) && is_admin() )
104 + || ( defined( 'DOING_AJAX' ) && DOING_AJAX )
105 + || ( defined( 'DOING_CRON' ) && DOING_CRON )
106 + || ( defined( 'WP_CLI' ) && WP_CLI )
107 + );
108 +
109 + // don't run the plugin for frontend requests in dev mode
110 + if ( $frontend_request ) {
111 + return;
112 + }
113 +}
114 +
115 +if ( Utils\bypass_request() ) {
116 + return;
117 +}
118 +
98 119
99 120 // Bootstrap.
100 121 Core\setup();
101 122 Admin\Dashboard\setup();