Don't show _access_denied_splash() for network admin pages. Props sorich87. fixes #17511

git-svn-id: http://svn.automattic.com/wordpress/trunk@18009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-05-23 23:11:03 +00:00
parent 2e2807147c
commit 9aeffe1487
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ function sync_category_tag_slugs( $term, $taxonomy ) {
add_filter( 'get_term', 'sync_category_tag_slugs', 10, 2 );
function _access_denied_splash() {
if ( ! is_user_logged_in() )
if ( ! is_user_logged_in() || is_network_admin() )
return;
$blogs = get_blogs_of_user( get_current_user_id() );