underConstruction - Version 1.16

Version Description

= 1.05 = * Fixed an issue where single quotes were being escaped on custom HTML pages. They will now be unquoted when printed to the screen

= 1.04 = * Fixed a bug where options may not be deleted after deleting plugin. * Improved options storage. * Fixed a bug where the custom text fields might say "empty" by default. * Ensured compatibility with 3.0-alpha. * Added a warning message if javascript is disabled in the management screen.

= 1.03 = * Added the ability to switch on and off while keeping the plugin active * Added the ability to send different HTTP headers (503 or 200) * Added the ability to simply customize the default text, or display the default page * Tweaked the page slightly to be a little prettier

= 1.02 = * Fixed a bug where clearing the text wouldn't cause it to revert to the default.

= 1.01 = * Fixed a bug where deactivation would trigger an error

= 1.0 = * First version

Download this release

Release Info

Developer grimmdude
Plugin Icon 128x128 underConstruction
Version 1.16
Comparing to
See all releases

Code changes from version 1.15 to 1.16

Files changed (3) hide show
  1. readme.txt +1 -1
  2. ucOptions.php +1 -1
  3. underConstruction.php +1 -1
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Jeremy Massel
3
  Tags: construction, under construction, private, preview, security, coming soon
4
  Requires at least: 2.7
5
  Tested up to: 4.4
6
- Stable tag: 1.15
7
 
8
  Creates a 'Coming Soon' page that will show for all users who are not logged in
9
 
3
  Tags: construction, under construction, private, preview, security, coming soon
4
  Requires at least: 2.7
5
  Tested up to: 4.4
6
+ Stable tag: 1.16
7
 
8
  Creates a 'Coming Soon' page that will show for all users who are not logged in
9
 
ucOptions.php CHANGED
@@ -150,7 +150,7 @@ $current_theme_has_uc_page = file_exists(get_template_directory() . '/under-cons
150
 
151
  add_thickbox();
152
 
153
- if ($_GET['underconstruction_global_notification'] == 0) {
154
  update_option('underconstruction_global_notification', 0);
155
  }
156
  ?>
150
 
151
  add_thickbox();
152
 
153
+ if (array_key_exists('underconstruction_global_notification', $_GET) && $_GET['underconstruction_global_notification'] == 0) {
154
  update_option('underconstruction_global_notification', 0);
155
  }
156
  ?>
underConstruction.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Under Construction
4
  Plugin URI: https://wordpress.org/plugins/underconstruction/
5
  Description: Makes it so your site can only be accessed by users who log in. Useful for developing a site on a live server, without the world being able to see it
6
- Version: 1.15
7
  Author: Noah Kagan
8
  Author URI: http://SumoMe.com/
9
  */
3
  Plugin Name: Under Construction
4
  Plugin URI: https://wordpress.org/plugins/underconstruction/
5
  Description: Makes it so your site can only be accessed by users who log in. Useful for developing a site on a live server, without the world being able to see it
6
+ Version: 1.16
7
  Author: Noah Kagan
8
  Author URI: http://SumoMe.com/
9
  */