WordPress.org

Make WordPress Core

Ticket #17511: 17511.2.diff

File 17511.2.diff, 461 bytes (added by sorich87, 7 years ago)

Return if is_network_admin so that default handler is used

  • wp-admin/includes/ms.php

     
    497497add_filter( 'get_term', 'sync_category_tag_slugs', 10, 2 );
    498498
    499499function _access_denied_splash() {
    500         if ( ! is_user_logged_in() )
     500        if ( ! is_user_logged_in() || is_network_admin() )
    501501                return;
    502502
    503503        $blogs = get_blogs_of_user( get_current_user_id() );