Changeset 1194254
- Timestamp:
- 07/07/2015 04:46:41 PM (11 years ago)
- Location:
- wp-admin-no-show/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-admin-no-show.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-admin-no-show/trunk/readme.txt
r1034018 r1194254 4 4 Tags: admin bar, admin menu, dashboard, disable, remove, hide 5 5 Requires at least: 3.1 6 Tested up to: 4. 0.17 Stable tag: 1. 4.56 Tested up to: 4.2.2 7 Stable tag: 1.5.0 8 8 License: MIT License 9 9 License URI: http://www.opensource.org/licenses/mit-license.php … … 39 39 40 40 == Changelog == 41 42 = 1.5.0 = 43 * Use admin_init hook for function wp_admin_no_show_admin_redirect() 44 * Tested with WordPress 4.2.2. 45 * Updated copyright year. 41 46 42 47 = 1.4.5 = -
wp-admin-no-show/trunk/wp-admin-no-show.php
r1034018 r1194254 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.56 Version: 1.5.0 7 7 Author: Doug Sparling 8 8 Author URI: http://www.dougsparling.org 9 9 License: MIT License - http://www.opensource.org/licenses/mit-license.php 10 10 11 Copyright (c) 2012-201 4Doug Sparling11 Copyright (c) 2012-2015 Doug Sparling 12 12 Based on WP Hide Dashboard plugin by Kim Parsell and Admin Bar Disabler plugin by Scott Kingsley Clark 13 13 … … 94 94 } 95 95 } 96 add_action( 'admin_ head', 'wp_admin_no_show_admin_redirect', 0 );96 add_action( 'admin_init', 'wp_admin_no_show_admin_redirect', 0 ); 97 97 98 98 /**
Note: See TracChangeset
for help on using the changeset viewer.