WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/08/2011 10:56:12 PM (10 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 trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/admin.php

    r16847 r17510  
    1616    wp_die( __( 'Multisite support is not enabled.' ) );
    1717
    18 if ( ! is_main_site() ) {
     18if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {
    1919    wp_redirect( network_admin_url() );
    2020    exit;
Note: See TracChangeset for help on using the changeset viewer.