Changeset 794104
- Timestamp:
- 10/26/2013 03:07:58 PM (12 years ago)
- Location:
- wp-admin-no-show/trunk
- Files:
-
- 1 added
- 1 deleted
- 2 edited
-
readme.txt (modified) (3 diffs)
-
screenshot-1.gif (deleted)
-
screenshot-1.png (added)
-
wp-admin-no-show.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-admin-no-show/trunk/readme.txt
r761537 r794104 4 4 Tags: admin bar, admin menu, dashboard, disable, remove, hide 5 5 Requires at least: 3.1 6 Tested up to: 3. 67 Stable tag: 1.4. 16 Tested up to: 3.7 7 Stable tag: 1.4.2 8 8 License: MIT License 9 9 License URI: http://www.opensource.org/licenses/mit-license.php … … 13 13 == Description == 14 14 15 This plugin will redirect users assigned to the <em>subscriber</em> rolewhen they try to access any wp-admin page (is_admin() is true). This plugin will also hide the admin bar for those users in WordPress 3.1+.15 This plugin will gives the site admin the ability to "blacklist" roles (<em>subscriber</em>, <em>contributor</em>, <em>author</em>, and/or <em>editor</em>) and will redirect all users assiged to any blacklisted roles when they try to access any wp-admin page (is_admin() is true). This plugin will also hide the admin bar for those users in WordPress 3.1+. 16 16 17 Users belonging to any of the other WordPress roleswill continue to see and have access to the other sections of the WordPress admin that correspond to their role's capabilities.17 Admin users and any users belonging to any of the other WordPress roles that have not been blacklisted will continue to see and have access to the other sections of the WordPress admin that correspond to their role's capabilities. 18 18 19 19 <strong>Note: Version 1.0.0+ requires a minimum of WordPress 3.1. If you are running a version less than that, please upgrade your WordPress install before installing or upgrading.</strong> … … 39 39 40 40 == Changelog == 41 42 = 1.4.2 = 43 * Updated readme. 44 * Update screenshot. 45 * Added section labels to plugin options page. 46 * Tested for WordPress 3.7 compatibility. 41 47 42 48 = 1.4.1 = -
wp-admin-no-show/trunk/wp-admin-no-show.php
r761537 r794104 4 4 Plugin URI: http://www.dougsparling.org 5 5 Description: Efectively blocks admin portion of site for selected user roles. Any attempt to manually navigate to wp-admin section of site and user will be redirected to selected site page. Hides admin bar. 6 Version: 1.4. 16 Version: 1.4.2 7 7 Author: Doug Sparling 8 8 Author URI: http://www.dougsparling.org … … 163 163 <table class="form-table"> 164 164 165 <tr valign="top"> 166 <th scope="row"><?php _e( 'Roles Blacklist', 'wp-admin-no-show' ); ?></th> 165 <tr> 167 166 <td> 167 <h3>User roles you want to blacklist</h3> 168 168 <?php 169 169 $blacklist_roles = get_option( 'wp_admin_no_show_blacklist_roles', array() ); … … 201 201 ?> 202 202 203 <tr valign="top"> 204 <th scope="row"><?php _e( 'Redirect (wp-admin)' ); ?></th> 203 <tr> 205 204 <td id="front-static-pages"> 205 <h3>Where to redirect blacklisted users</h3> 206 206 <fieldset> 207 207 <legend class="screen-reader-text"><span><?php _e( 'WP Admin No Show Redirect' ); ?></span></legend> … … 209 209 <label> 210 210 <input name="wp_admin_no_show_redirect_type" type="radio" value="none" class="tog" <?php checked( 'none', get_option( 'wp_admin_no_show_redirect_type' ) ); ?> /> 211 <?php _e( 'No redirect ' ); ?>211 <?php _e( 'No redirect (Only hide WP Admin Bar, user will still see admin pages)' ); ?> 212 212 </label> 213 213 </p>
Note: See TracChangeset
for help on using the changeset viewer.