WordPress.org

Make WordPress Core

Changes between Initial Version and Version 9 of Ticket #17090


Ignore:
Timestamp:
04/08/2011 10:17:03 PM (7 years ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17090 – Description

    initial v9  
    55===========
    66Previous Code
    7 
     7{{{
    88if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {
    99wp_redirect( network_admin_url() );
    1010exit;
    11 
     11}}}
    1212===========
    1313Corrected Code
    14 
     14{{{
    1515if ( ! is_main_site() ) {
    1616wp_redirect( network_admin_url() );
    1717exit;
     18}}}