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/network/edit.php

    r16774 r16847  
    1414    wp_die( __( 'Multisite support is not enabled.' ) );
    1515
    16 if ( empty( $_GET['action'] ) )
     16if ( empty( $_GET['action'] ) ) {
    1717    wp_redirect( admin_url( 'index.php' ) );
     18    exit;
     19}
    1820
    1921function confirm_delete_users( $users ) {
Note: See TracChangeset for help on using the changeset viewer.