Make WordPress Core


Ignore:
Timestamp:
03/08/2011 10:56:43 PM (15 years ago)
Author:
ryan
Message:

Anchor network and user admins at the network domain and path rather than at the main site. Makes the redirects consistent with network_admin_url(). fixes #16652 for 3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-admin/user/admin.php

    r17332 r17511  
    1717}
    1818
    19 if ( ! is_main_site() ) {
     19if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {
    2020    wp_redirect( user_admin_url() );
    2121    exit;
Note: See TracChangeset for help on using the changeset viewer.