Changeset 727547
- Timestamp:
- 06/17/2013 04:38:29 PM (13 years ago)
- Location:
- underconstruction
- Files:
-
- 13 added
- 2 edited
-
tags/1.11 (added)
-
tags/1.11/ajax-loader.gif (added)
-
tags/1.11/defaultMessage.php (added)
-
tags/1.11/languages (added)
-
tags/1.11/languages/underconstruction-default.mo (added)
-
tags/1.11/languages/underconstruction-default.po (added)
-
tags/1.11/languages/underconstruction-fr_FR.mo (added)
-
tags/1.11/languages/underconstruction-fr_FR.po (added)
-
tags/1.11/readme.txt (added)
-
tags/1.11/ucOptions.php (added)
-
tags/1.11/underConstruction.php (added)
-
tags/1.11/underconstruction.dev.js (added)
-
tags/1.11/underconstruction.min.js (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/underConstruction.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
underconstruction/trunk/readme.txt
r724113 r727547 5 5 Requires at least: 2.7 6 6 Tested up to: 3.5.1 7 Stable tag: 1.1 07 Stable tag: 1.11 8 8 9 9 Creates a 'Coming Soon' page that will show for all users who are not logged in … … 43 43 44 44 == Changelog == 45 46 = 1.11 = 47 * Fixes a bug where users couldn't log in 45 48 46 49 = 1.10 = -
underconstruction/trunk/underConstruction.php
r724113 r727547 4 4 Plugin URI: http://www.masseltech.com/ 5 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.1 06 Version: 1.11 7 7 Author: Jeremy Massel 8 8 Author URI: http://www.masseltech.com/ … … 132 132 } 133 133 134 if(get_option('underConstructionRequiredRole')){ 135 $editable_roles = get_editable_roles(); 134 if(get_option('underConstructionRequiredRole') && is_user_logged_in()){ 135 136 global $wp_roles; 137 $all_roles = $wp_roles->roles; 138 139 $editable_roles = apply_filters('editable_roles', $all_roles); 136 140 137 141 $required_role = $editable_roles[get_option('underConstructionRequiredRole')];
Note: See TracChangeset
for help on using the changeset viewer.