A2 Optimized WP - Version 2.1.3.6

Version Description

= 2.0.10.9 = Important security update. Please upgrade immediately.

= 2.0 = New GPL plugin, now updates are through the wordpress.org repository

Download this release

Release Info

Developer a2hosting
Plugin Icon 128x128 A2 Optimized WP
Version 2.1.3.6
Comparing to
See all releases

Code changes from version 2.1.3.5 to 2.1.3.6

A2_Optimized_Cache.php CHANGED
@@ -133,7 +133,7 @@ final class A2_Optimized_Cache {
133
  }
134
 
135
  /**
136
- * Cache Enabler update actions
137
  *
138
  */
139
 
@@ -1063,7 +1063,7 @@ final class A2_Optimized_Cache {
1063
  sprintf(
1064
  '<a href="%s">%s</a>',
1065
  admin_url( 'options-general.php?page=a2-optimized-wp' ),
1066
- esc_html__( 'Cache Enabler Settings', 'a2-optimized-wp' )
1067
  )
1068
  )
1069
  );
133
  }
134
 
135
  /**
136
+ * Cache update actions
137
  *
138
  */
139
 
1063
  sprintf(
1064
  '<a href="%s">%s</a>',
1065
  admin_url( 'options-general.php?page=a2-optimized-wp' ),
1066
+ esc_html__( 'A2 Optimized Settings', 'a2-optimized-wp' )
1067
  )
1068
  )
1069
  );
A2_Optimized_CacheDisk.php CHANGED
@@ -75,7 +75,7 @@ final class A2_Optimized_Cache_Disk {
75
  @unlink( WP_CONTENT_DIR . '/advanced-cache.php' );
76
  // delete object-cache.php drop-in
77
  @unlink( WP_CONTENT_DIR . '/object-cache.php' );
78
- // unset WP_CACHE constant in config file if set by Cache Enabler
79
  self::set_wp_cache_constant( false );
80
  }
81
  }
@@ -804,7 +804,7 @@ final class A2_Optimized_Cache_Disk {
804
  $wp_config_file_contents = preg_replace( '/(\/\*\* Sets up WordPress vars and included files\. \*\/)/', $cache_wp_config_lines . '$1', $wp_config_file_contents );
805
  }
806
 
807
- // unset WP_CACHE constant if set by Cache Enabler
808
  if ( ! $set ) {
809
  $wp_config_file_contents = preg_replace( '/.+Added by A2 Optimized\r\n/', '', $wp_config_file_contents ); // < 1.5.0
810
  $wp_config_file_contents = preg_replace( '/\/\*\* Enables page caching for A2 Optimized Cache\. \*\/' . PHP_EOL . '.+' . PHP_EOL . '.+' . PHP_EOL . '\}' . PHP_EOL . PHP_EOL . '/', '', $wp_config_file_contents );
75
  @unlink( WP_CONTENT_DIR . '/advanced-cache.php' );
76
  // delete object-cache.php drop-in
77
  @unlink( WP_CONTENT_DIR . '/object-cache.php' );
78
+ // unset WP_CACHE constant in config file if set
79
  self::set_wp_cache_constant( false );
80
  }
81
  }
804
  $wp_config_file_contents = preg_replace( '/(\/\*\* Sets up WordPress vars and included files\. \*\/)/', $cache_wp_config_lines . '$1', $wp_config_file_contents );
805
  }
806
 
807
+ // unset WP_CACHE constant if set
808
  if ( ! $set ) {
809
  $wp_config_file_contents = preg_replace( '/.+Added by A2 Optimized\r\n/', '', $wp_config_file_contents ); // < 1.5.0
810
  $wp_config_file_contents = preg_replace( '/\/\*\* Enables page caching for A2 Optimized Cache\. \*\/' . PHP_EOL . '.+' . PHP_EOL . '.+' . PHP_EOL . '\}' . PHP_EOL . PHP_EOL . '/', '', $wp_config_file_contents );
a2-optimized.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: A2 Optimized WP
4
  Plugin URI: https://wordpress.org/plugins/a2-optimized/
5
- Version: 2.1.3.5
6
  Author: A2 Hosting
7
  Author URI: https://www.a2hosting.com/
8
  Description: A2 Optimized - WordPress Optimization Plugin
2
  /*
3
  Plugin Name: A2 Optimized WP
4
  Plugin URI: https://wordpress.org/plugins/a2-optimized/
5
+ Version: 2.1.3.6
6
  Author: A2 Hosting
7
  Author URI: https://www.a2hosting.com/
8
  Description: A2 Optimized - WordPress Optimization Plugin
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: A2BCool, a2hosting, dmatteson, sputala
3
  Tags: Speed, Optimize, Secure, Fast, W3 Total Cache, W3TC, Hosting
4
  Requires at least: 5.1
5
  Tested up to: 5.8
6
- Stable tag: 2.1.3.5
7
  Requires PHP: 5.6
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
3
  Tags: Speed, Optimize, Secure, Fast, W3 Total Cache, W3TC, Hosting
4
  Requires at least: 5.1
5
  Tested up to: 5.8
6
+ Stable tag: 2.1.3.6
7
  Requires PHP: 5.6
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html