Hyper Cache - Version 3.4.0

Version Description

  • Compatibility check with WP 5.8
  • Fixed some plugin and readme headers
  • Preparing to remove the mobile server side detection
  • Setting the minimum WP version to 4.6, translations loading are now fully managed by WP
  • Fixed readme line ending
Download this release

Release Info

Developer satollo
Plugin Icon wp plugin Hyper Cache
Version 3.4.0
Comparing to
See all releases

Code changes from version 3.3.9 to 3.4.0

Files changed (4) hide show
  1. images/shortpixel.png +0 -0
  2. options.php +0 -19
  3. plugin.php +4 -2
  4. readme.txt +17 -3
images/shortpixel.png DELETED
Binary file
options.php CHANGED
@@ -6,12 +6,6 @@ if (@filemtime(WP_CONTENT_DIR . '/advanced-cache.php') < @filemtime(dirname(__FI
6
  $plugin->build_advanced_cache();
7
  }
8
 
9
- if (!isset($plugin->options['translation_disabled'])) {
10
- if (function_exists('load_plugin_textdomain')) {
11
- load_plugin_textdomain('hyper-cache', false, 'hyper-cache/languages');
12
- }
13
- }
14
-
15
  if ($controls->is_action('save')) {
16
  $controls->options = stripslashes_deep($_POST['options']);
17
 
@@ -320,19 +314,6 @@ if (!wp_next_scheduled('hyper_cache_clean')) {
320
  <div id="tabs-general">
321
 
322
  <table class="form-table">
323
- <!-- Do not translate that -->
324
- <tr>
325
- <th>Disable translations</th>
326
- <td>
327
- <?php $controls->checkbox('translation_disabled', 'Disable'); ?>
328
- <p class="description">
329
-
330
- If you want to see this panel with the original labels, you can disable the
331
- tranlsation.
332
- </p>
333
- </td>
334
- </tr>
335
- <!-- /Do not translate that -->
336
  <tr>
337
  <th><?php _e('Cached pages will be valid for', 'hyper-cache'); ?></th>
338
  <td>
6
  $plugin->build_advanced_cache();
7
  }
8
 
 
 
 
 
 
 
9
  if ($controls->is_action('save')) {
10
  $controls->options = stripslashes_deep($_POST['options']);
11
 
314
  <div id="tabs-general">
315
 
316
  <table class="form-table">
 
 
 
 
 
 
 
 
 
 
 
 
 
317
  <tr>
318
  <th><?php _e('Cached pages will be valid for', 'hyper-cache'); ?></th>
319
  <td>
plugin.php CHANGED
@@ -4,11 +4,13 @@
4
  Plugin Name: Hyper Cache
5
  Plugin URI: https://www.satollo.net/plugins/hyper-cache
6
  Description: A easy to configure and efficient cache to increase the speed of your blog.
7
- Version: 3.3.9
8
  Author: Stefano Lissa
9
  Author URI: https://www.satollo.net
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
11
  Contributors: satollo
 
 
12
  */
13
 
14
  global $cache_stop;
@@ -26,7 +28,7 @@ class HyperCache {
26
 
27
  function __construct() {
28
  self::$instance = $this;
29
- $this->options = get_option('hyper-cache', array());
30
 
31
  register_activation_hook('hyper-cache/plugin.php', array($this, 'hook_activate'));
32
  register_deactivation_hook('hyper-cache/plugin.php', array($this, 'hook_deactivate'));
4
  Plugin Name: Hyper Cache
5
  Plugin URI: https://www.satollo.net/plugins/hyper-cache
6
  Description: A easy to configure and efficient cache to increase the speed of your blog.
7
+ Version: 3.4.0
8
  Author: Stefano Lissa
9
  Author URI: https://www.satollo.net
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
11
  Contributors: satollo
12
+ Requires PHP: 5.6
13
+ Requires at least: 4.6
14
  */
15
 
16
  global $cache_stop;
28
 
29
  function __construct() {
30
  self::$instance = $this;
31
+ $this->options = get_option('hyper-cache', []);
32
 
33
  register_activation_hook('hyper-cache/plugin.php', array($this, 'hook_activate'));
34
  register_deactivation_hook('hyper-cache/plugin.php', array($this, 'hook_deactivate'));
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Hyper Cache ===
2
  Tags: cache,performance,staticizer,apache,htaccess,tuning,speed,bandwidth,optimization,tidy,gzip,compression,server load,boost
3
- Requires at least: 3.9
4
- Tested up to: 5.2.2
5
- Stable tag: 3.3.9
6
  Donate link: https://www.satollo.net/donations
7
  Contributors: satollo
 
8
 
9
  Hyper Cache is a performant and easy to configure cache system for WordPress.
10
 
@@ -17,6 +17,12 @@ on high end servers.
17
  Hyper Cache is **purely PHP** and works on **every blog**: no complex configurations are needed
18
  and when you deactivate it no stale settings are left around.
19
 
 
 
 
 
 
 
20
  Short list of features:
21
 
22
  * Mobile aware: double cache for desktop and mobile site versions
@@ -67,6 +73,14 @@ the [Hyper Cache official forum](https://www.satollo.net/forums/forum/hyper-cach
67
 
68
  == Changelog ==
69
 
 
 
 
 
 
 
 
 
70
  = 3.3.9 =
71
 
72
  * Added clean up of blog posts page (thanks Erich)
1
  === Hyper Cache ===
2
  Tags: cache,performance,staticizer,apache,htaccess,tuning,speed,bandwidth,optimization,tidy,gzip,compression,server load,boost
3
+ Tested up to: 5.8
4
+ Stable tag: 3.4.0
 
5
  Donate link: https://www.satollo.net/donations
6
  Contributors: satollo
7
+ License: GPLv2 or later
8
 
9
  Hyper Cache is a performant and easy to configure cache system for WordPress.
10
 
17
  Hyper Cache is **purely PHP** and works on **every blog**: no complex configurations are needed
18
  and when you deactivate it no stale settings are left around.
19
 
20
+ NOTE: mobile detection server side and serving different content to mobile and desktop
21
+ device is now obsolete. Every modern WP theme deals with mobile/desktop
22
+ contexts using the media queries, progressive enhancement and so on. So I don't see the needs
23
+ to keep the mobile/desktop cache separation and all the overhead in the plugin. The feature
24
+ will be removed as version 3.5.
25
+
26
  Short list of features:
27
 
28
  * Mobile aware: double cache for desktop and mobile site versions
73
 
74
  == Changelog ==
75
 
76
+ = 3.4.0 =
77
+
78
+ * Compatibility check with WP 5.8
79
+ * Fixed some plugin and readme headers
80
+ * Preparing to remove the mobile server side detection
81
+ * Setting the minimum WP version to 4.6, translations loading are now fully managed by WP
82
+ * Fixed readme line ending
83
+
84
  = 3.3.9 =
85
 
86
  * Added clean up of blog posts page (thanks Erich)