Under Construction - Version 1.25

Version Description

  • 2016/10/24
  • fixed fatal cache busting bug reported by @jonofgahh
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Under Construction
Version 1.25
Comparing to
See all releases

Code changes from version 1.24 to 1.25

Files changed (2) hide show
  1. readme.txt +6 -2
  2. under-construction.php +3 -3
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: WebFactory
3
  Tags: under construction page, coming soon page, maintenance, maintenance page, coming soon, maintenance mode, under construction mode, coming soon mode, site unavailable, under construction, landing page
4
  Requires at least: 4.0
5
  Tested up to: 4.6
6
- Stable tag: 1.24
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -21,6 +21,7 @@ A simple, no-nonsense plugin for all those situations when you have to hide the
21
  * Title
22
  * Headline
23
  * Content
 
24
  * Social icons/links:
25
  * Facebook
26
  * Twitter
@@ -28,7 +29,6 @@ A simple, no-nonsense plugin for all those situations when you have to hide the
28
  * LinkedIn
29
  * YouTube
30
  * Pinterest
31
- * Whitelisted User Roles - users who see the site, instead of maintenance page
32
 
33
 
34
  == Installation ==
@@ -59,6 +59,10 @@ Or if needed, upload manually;
59
 
60
  == Changelog ==
61
 
 
 
 
 
62
  = 1.24 =
63
  * 2016/10/24
64
  * 3 new social icons
3
  Tags: under construction page, coming soon page, maintenance, maintenance page, coming soon, maintenance mode, under construction mode, coming soon mode, site unavailable, under construction, landing page
4
  Requires at least: 4.0
5
  Tested up to: 4.6
6
+ Stable tag: 1.25
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
21
  * Title
22
  * Headline
23
  * Content
24
+ * Whitelisted User Roles - users who see the site, instead of maintenance page
25
  * Social icons/links:
26
  * Facebook
27
  * Twitter
29
  * LinkedIn
30
  * YouTube
31
  * Pinterest
 
32
 
33
 
34
  == Installation ==
59
 
60
  == Changelog ==
61
 
62
+ = 1.25 =
63
+ * 2016/10/24
64
+ * fixed fatal cache busting bug reported by @jonofgahh
65
+
66
  = 1.24 =
67
  * 2016/10/24
68
  * 3 new social icons
under-construction.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: https://wordpress.org/plugins/under-construction-page/
5
  Description: Hide your site behind a great looking under construction page while you do maintenance work.
6
  Author: Web factory Ltd
7
- Version: 1.24
8
  Author URI: http://www.webfactoryltd.com/
9
  Text Domain: under-construction-page
10
  Domain Path: lang
@@ -516,12 +516,12 @@ class UCP {
516
  $options = self::check_var_isset($options, array('status' => 0));
517
 
518
  if ($options['status'] != $old_options['status']) {
519
- global $file_prefix;
520
  if (function_exists('w3tc_pgcache_flush')) {
521
  w3tc_pgcache_flush();
522
  }
523
  if (function_exists('wp_cache_clean_cache')) {
524
- w3tc_pgcache_flush();
 
525
  }
526
  }
527
 
4
  Plugin URI: https://wordpress.org/plugins/under-construction-page/
5
  Description: Hide your site behind a great looking under construction page while you do maintenance work.
6
  Author: Web factory Ltd
7
+ Version: 1.25
8
  Author URI: http://www.webfactoryltd.com/
9
  Text Domain: under-construction-page
10
  Domain Path: lang
516
  $options = self::check_var_isset($options, array('status' => 0));
517
 
518
  if ($options['status'] != $old_options['status']) {
 
519
  if (function_exists('w3tc_pgcache_flush')) {
520
  w3tc_pgcache_flush();
521
  }
522
  if (function_exists('wp_cache_clean_cache')) {
523
+ global $file_prefix;
524
+ wp_cache_clean_cache($file_prefix);
525
  }
526
  }
527