[wp-trac] [WordPress Trac] #17121: wp-admin redirects in multisite based on permissions
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 13 15:52:32 UTC 2011
#17121: wp-admin redirects in multisite based on permissions
-------------------------+------------------------------
Reporter: jane | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.1
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by ryan):
{{{
add_action( 'admin_page_access_denied', 'redirect_user_to_blog', 99 );
}}}
Comment that out in wp-admin/includes/ms.php and you will get the standard
"You do not have sufficient permissions to access this page." message
rather than a redirect.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17121#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list