A2 Optimized WP - Version 2.1.5

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.5
Comparing to
See all releases

Code changes from version 2.1.4.6.2.2 to 2.1.5

A2_Optimized_Cache.php CHANGED
@@ -1210,9 +1210,11 @@ final class A2_Optimized_Cache {
1210
  update_option('litespeed.conf.object-post', 0);
1211
  } else {
1212
  update_option('a2_optimized_memcached_invalid', 'Unable to connect to Memcached Server');
 
1213
  }
1214
  } else {
1215
  update_option('a2_optimized_memcached_invalid', 'Missing Memcached extension');
 
1216
  }
1217
 
1218
  break;
@@ -1232,9 +1234,11 @@ final class A2_Optimized_Cache {
1232
  delete_option('a2_optimized_memcached_invalid');
1233
  } else {
1234
  update_option('a2_optimized_memcached_invalid', 'Unable to connect to Redis Server');
 
1235
  }
1236
  } else {
1237
  update_option('a2_optimized_memcached_invalid', 'Missing Redis extension');
 
1238
  }
1239
 
1240
  break;
1210
  update_option('litespeed.conf.object-post', 0);
1211
  } else {
1212
  update_option('a2_optimized_memcached_invalid', 'Unable to connect to Memcached Server');
1213
+ return false;
1214
  }
1215
  } else {
1216
  update_option('a2_optimized_memcached_invalid', 'Missing Memcached extension');
1217
+ return false;
1218
  }
1219
 
1220
  break;
1234
  delete_option('a2_optimized_memcached_invalid');
1235
  } else {
1236
  update_option('a2_optimized_memcached_invalid', 'Unable to connect to Redis Server');
1237
+ return false;
1238
  }
1239
  } else {
1240
  update_option('a2_optimized_memcached_invalid', 'Missing Redis extension');
1241
+ return false;
1242
  }
1243
 
1244
  break;
A2_Optimized_CacheDisk.php CHANGED
@@ -413,7 +413,7 @@ final class A2_Optimized_Cache_Disk {
413
  // add new settings file contents
414
  $new_settings_file_contents = '<?php' . PHP_EOL;
415
  $new_settings_file_contents .= '/**' . PHP_EOL;
416
- $new_settings_file_contents .= ' * A2 Optimized Cache settings for ' . home_url() . PHP_EOL;
417
  $new_settings_file_contents .= ' *' . PHP_EOL;
418
  $new_settings_file_contents .= ' * @since 1.5.0' . PHP_EOL;
419
  $new_settings_file_contents .= ' * @change 1.5.0' . PHP_EOL;
413
  // add new settings file contents
414
  $new_settings_file_contents = '<?php' . PHP_EOL;
415
  $new_settings_file_contents .= '/**' . PHP_EOL;
416
+ $new_settings_file_contents .= ' * A2 Optimized Cache settings ' . PHP_EOL;
417
  $new_settings_file_contents .= ' *' . PHP_EOL;
418
  $new_settings_file_contents .= ' * @since 1.5.0' . PHP_EOL;
419
  $new_settings_file_contents .= ' * @change 1.5.0' . PHP_EOL;
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: A2BCool, a2hosting, dmatteson, sputala
3
  Tags: Speed, Optimize, Secure, Fast, LiteSpeed, LSCache, A2, Hosting
4
  Requires at least: 5.1
5
- Tested up to: 6.0
6
- Stable tag: 2.1.4.6.2.2
7
  Requires PHP: 5.6
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
2
  Contributors: A2BCool, a2hosting, dmatteson, sputala
3
  Tags: Speed, Optimize, Secure, Fast, LiteSpeed, LSCache, A2, Hosting
4
  Requires at least: 5.1
5
+ Tested up to: 6.1
6
+ Stable tag: 2.1.5
7
  Requires PHP: 5.6
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html