underConstruction - Version 1.18

Version Description

  • Fix PHP warnings and update Wordpress version compatibility.
Download this release

Release Info

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

Code changes from version 1.17 to 1.18

Files changed (3) hide show
  1. readme.txt +5 -2
  2. ucOptions.php +1 -1
  3. underConstruction.php +1 -1
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: Jeremy Massel
3
  Tags: construction, under construction, private, preview, security, coming soon
4
  Requires at least: 2.7
5
- Tested up to: 4.5
6
- Stable tag: 1.17
7
 
8
  Creates a 'Coming Soon' page that will show for all users who are not logged in
9
 
@@ -41,6 +41,9 @@ I've had a few people ask me this. If you like it, please go to WordPress.org an
41
  Sorry, I get a lot of questions. But visit the homepage for this plugin and leave me a comment. They go right to my inbox, and well I might not be able to for a few days, I promise I'll get back to you.
42
 
43
  == Changelog ==
 
 
 
44
  = 1.17 =
45
  * Add ipv6 support https://wordpress.org/support/topic/underconstruction-ipv6-support
46
 
2
  Contributors: Jeremy Massel
3
  Tags: construction, under construction, private, preview, security, coming soon
4
  Requires at least: 2.7
5
+ Tested up to: 4.7
6
+ Stable tag: 1.18
7
 
8
  Creates a 'Coming Soon' page that will show for all users who are not logged in
9
 
41
  Sorry, I get a lot of questions. But visit the homepage for this plugin and leave me a comment. They go right to my inbox, and well I might not be able to for a few days, I promise I'll get back to you.
42
 
43
  == Changelog ==
44
+ = 1.18 =
45
+ * Fix PHP warnings and update Wordpress version compatibility.
46
+
47
  = 1.17 =
48
  * Add ipv6 support https://wordpress.org/support/topic/underconstruction-ipv6-support
49
 
ucOptions.php CHANGED
@@ -108,7 +108,7 @@ if (isset($_POST['http_status']))
108
  // process IP addresses
109
  // ======================================
110
 
111
- if(isset($_POST['ip_address'])){
112
 
113
  $ip = $_POST['ip_address'];
114
  $ip = inet_ntop(inet_pton($ip));
108
  // process IP addresses
109
  // ======================================
110
 
111
+ if(isset($_POST['ip_address']) && $_POST['ip_address']) {
112
 
113
  $ip = $_POST['ip_address'];
114
  $ip = inet_ntop(inet_pton($ip));
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.17
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.18
7
  Author: Noah Kagan
8
  Author URI: http://SumoMe.com/
9
  */