Version Description
Download this release
Release Info
Developer | smartcat |
Plugin | WP Construction Mode |
Version | 1.5 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.5
- readme.txt +1 -1
- under-construction.php +9 -9
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://smartcatdesign.net
|
|
4 |
Tags: construction,maintenance,page,admin,under construction,under maintenance,coming soon,administrator,custom message,social,facebook,twitter,google plus,gplus,email,icons,link,instagram,digg,flickr,skype,tumblr,youtube
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.81
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Set entire website or specific page under construction or maintenance for all viewers except Admin
|
4 |
Tags: construction,maintenance,page,admin,under construction,under maintenance,coming soon,administrator,custom message,social,facebook,twitter,google plus,gplus,email,icons,link,instagram,digg,flickr,skype,tumblr,youtube
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.81
|
7 |
+
Stable tag: 1.4
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Set entire website or specific page under construction or maintenance for all viewers except Admin
|
under-construction.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Construction Mode
|
4 |
Plugin URI: http://smartcatdesign.net/under-construction-maintenance-mode-free-wordpress-plugin/
|
5 |
Description: Display a customizable Under Construction or Coming Soon page for all users who are not logged in. Perfect for developing on a live server!
|
6 |
-
Version: 1.
|
7 |
Author: SmartCat
|
8 |
Author URI: http://smartcatdesign.net
|
9 |
License: GPL v2
|
@@ -110,37 +110,37 @@ function set_under_construction() {
|
|
110 |
$autoload = 'no';
|
111 |
add_option('wuc_logo', $new_value5, $deprecated, $autoload);
|
112 |
}
|
113 |
-
$new_value6 = ($_REQUEST['wuc_facebook'] == "") ? '
|
114 |
if (get_option('wuc_facebook') !== false) {
|
115 |
update_option('wuc_facebook', $new_value6);
|
116 |
} else {
|
117 |
$deprecated = null;
|
118 |
$autoload = 'no';
|
119 |
-
add_option('wuc_facebook',
|
120 |
}
|
121 |
-
$new_value7 = ($_REQUEST['wuc_gplus'] == "") ? '
|
122 |
if (get_option('wuc_gplus') !== false) {
|
123 |
update_option('wuc_gplus', $new_value7);
|
124 |
} else {
|
125 |
$deprecated = null;
|
126 |
$autoload = 'no';
|
127 |
-
add_option('wuc_gplus',
|
128 |
}
|
129 |
-
$new_value8 = ($_REQUEST['wuc_twitter'] == "") ? '
|
130 |
if (get_option('wuc_twitter') !== false) {
|
131 |
update_option('wuc_twitter', $new_value8);
|
132 |
} else {
|
133 |
$deprecated = null;
|
134 |
$autoload = 'no';
|
135 |
-
add_option('wuc_twitter',
|
136 |
}
|
137 |
-
$new_value9 = ($_REQUEST['wuc_email'] == "") ? '
|
138 |
if (get_option('wuc_email') !== false) {
|
139 |
update_option('wuc_email', $new_value9);
|
140 |
} else {
|
141 |
$deprecated = null;
|
142 |
$autoload = 'no';
|
143 |
-
add_option('wuc_email',
|
144 |
}
|
145 |
}
|
146 |
|
3 |
Plugin Name: WP Construction Mode
|
4 |
Plugin URI: http://smartcatdesign.net/under-construction-maintenance-mode-free-wordpress-plugin/
|
5 |
Description: Display a customizable Under Construction or Coming Soon page for all users who are not logged in. Perfect for developing on a live server!
|
6 |
+
Version: 1.5
|
7 |
Author: SmartCat
|
8 |
Author URI: http://smartcatdesign.net
|
9 |
License: GPL v2
|
110 |
$autoload = 'no';
|
111 |
add_option('wuc_logo', $new_value5, $deprecated, $autoload);
|
112 |
}
|
113 |
+
$new_value6 = ($_REQUEST['wuc_facebook'] == "") ? '' : $_REQUEST['wuc_facebook'];
|
114 |
if (get_option('wuc_facebook') !== false) {
|
115 |
update_option('wuc_facebook', $new_value6);
|
116 |
} else {
|
117 |
$deprecated = null;
|
118 |
$autoload = 'no';
|
119 |
+
add_option('wuc_facebook', 'http://smartcatdesign.net', $deprecated, $autoload);
|
120 |
}
|
121 |
+
$new_value7 = ($_REQUEST['wuc_gplus'] == "") ? '' : $_REQUEST['wuc_gplus'];
|
122 |
if (get_option('wuc_gplus') !== false) {
|
123 |
update_option('wuc_gplus', $new_value7);
|
124 |
} else {
|
125 |
$deprecated = null;
|
126 |
$autoload = 'no';
|
127 |
+
add_option('wuc_gplus', 'http://smartcatdesign.net', $deprecated, $autoload);
|
128 |
}
|
129 |
+
$new_value8 = ($_REQUEST['wuc_twitter'] == "") ? '' : $_REQUEST['wuc_twitter'];
|
130 |
if (get_option('wuc_twitter') !== false) {
|
131 |
update_option('wuc_twitter', $new_value8);
|
132 |
} else {
|
133 |
$deprecated = null;
|
134 |
$autoload = 'no';
|
135 |
+
add_option('wuc_twitter', 'http://smartcatdesign.net', $deprecated, $autoload);
|
136 |
}
|
137 |
+
$new_value9 = ($_REQUEST['wuc_email'] == "") ? '' : $_REQUEST['wuc_email'];
|
138 |
if (get_option('wuc_email') !== false) {
|
139 |
update_option('wuc_email', $new_value9);
|
140 |
} else {
|
141 |
$deprecated = null;
|
142 |
$autoload = 'no';
|
143 |
+
add_option('wuc_email', 'http://smartcatdesign.net', $deprecated, $autoload);
|
144 |
}
|
145 |
}
|
146 |
|