Make WordPress Core


Ignore:
Timestamp:
12/09/2010 06:02:54 PM (14 years ago)
Author:
nacin
Message:

Always exit after wp_redirect. props filosofo, fixes #15518.

File:
1 edited

Legend:

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

    r16272 r16847  
    1616    wp_die( __( 'Multisite support is not enabled.' ) );
    1717
    18 if ( ! is_main_site() )
     18if ( ! is_main_site() ) {
    1919    wp_redirect( network_admin_url() );
    20 
     20    exit;
     21}
    2122?>
Note: See TracChangeset for help on using the changeset viewer.