WordPress.org

Make WordPress Core


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

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

File:
1 edited

Legend:

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

    r15879 r16847  
    1212require_once( dirname(dirname(__FILE__)) . '/admin.php');
    1313
    14 if ( ! is_main_site() )
     14if ( ! is_main_site() ) {
    1515    wp_redirect( user_admin_url() );
    16 
     16    exit;
     17}
    1718?>
Note: See TracChangeset for help on using the changeset viewer.