Version Description
- Fixed an embarrassingly old bug caused by using the old plugin registration API. It would result in a "has_cap is deprecated" warning. Sorry 'bout that folks.
Download this release
Release Info
Developer | jkmassel |
Plugin | underConstruction |
Version | 1.08 |
Comparing to | |
See all releases |
Code changes from version 1.07 to 1.08
- readme.txt +5 -2
- underConstruction.php +2 -2
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Jeremy Massel
|
|
3 |
Donate link: http://masseltech.com/donate/
|
4 |
Tags: construction, under construction, private, preview, security, coming soon
|
5 |
Requires at least: 2.7
|
6 |
-
Tested up to: 3.2
|
7 |
-
Stable tag: 1.
|
8 |
|
9 |
Creates a 'Coming Soon' page that will show for all users who are not logged in
|
10 |
|
@@ -43,6 +43,9 @@ Sorry, I get a lot of questions. But visit the homepage for this plugin and leav
|
|
43 |
|
44 |
== Changelog ==
|
45 |
|
|
|
|
|
|
|
46 |
= 1.07 =
|
47 |
* Fixed a bug where a warning could get emitted causing errors to be printed to the screen
|
48 |
|
3 |
Donate link: http://masseltech.com/donate/
|
4 |
Tags: construction, under construction, private, preview, security, coming soon
|
5 |
Requires at least: 2.7
|
6 |
+
Tested up to: 3.4.2
|
7 |
+
Stable tag: 1.08
|
8 |
|
9 |
Creates a 'Coming Soon' page that will show for all users who are not logged in
|
10 |
|
43 |
|
44 |
== Changelog ==
|
45 |
|
46 |
+
= 1.08 =
|
47 |
+
* Fixed an embarrassingly old bug caused by using the old plugin registration API. It would result in a "has_cap is deprecated…" warning. Sorry 'bout that folks.
|
48 |
+
|
49 |
= 1.07 =
|
50 |
* Fixed a bug where a warning could get emitted causing errors to be printed to the screen
|
51 |
|
underConstruction.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Under Construction
|
4 |
Plugin URI: http://www.masseltech.com/
|
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.
|
7 |
Author: Jeremy Massel
|
8 |
Author URI: http://www.masseltech.com/
|
9 |
*/
|
@@ -58,7 +58,7 @@ class underConstruction
|
|
58 |
function uc_adminMenu()
|
59 |
{
|
60 |
/* Register our plugin page */
|
61 |
-
$page = add_options_page('Under Construction Settings', 'Under Construction',
|
62 |
|
63 |
/* Using registered $page handle to hook script load */
|
64 |
add_action('admin_print_scripts-'.$page, array($this, 'underConstructionEnqueueScripts'));
|
3 |
Plugin Name: Under Construction
|
4 |
Plugin URI: http://www.masseltech.com/
|
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.08
|
7 |
Author: Jeremy Massel
|
8 |
Author URI: http://www.masseltech.com/
|
9 |
*/
|
58 |
function uc_adminMenu()
|
59 |
{
|
60 |
/* Register our plugin page */
|
61 |
+
$page = add_options_page('Under Construction Settings', 'Under Construction', 'activate_plugins', $this->mainOptionsPage, array($this, 'uc_changeMessage'));
|
62 |
|
63 |
/* Using registered $page handle to hook script load */
|
64 |
add_action('admin_print_scripts-'.$page, array($this, 'underConstructionEnqueueScripts'));
|