WordPress.org

Make WordPress Core

Changeset 18009


Ignore:
Timestamp:
05/23/2011 11:11:03 PM (7 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r18008 r18009  
    498498
    499499function _access_denied_splash() {
    500     if ( ! is_user_logged_in() )
     500    if ( ! is_user_logged_in() || is_network_admin() )
    501501        return;
    502502
Note: See TracChangeset for help on using the changeset viewer.