WordPress.org

Make WordPress Core

Changeset 16584


Ignore:
Timestamp:
11/25/10 09:25:50 (5 years ago)
Author:
PeteMall
Message:

Exit after wp_redirect(). See #15558

File:
1 edited

Legend:

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

    r16582 r16584  
    5151 
    5252$action = $wp_list_table->current_action(); 
    53  
    54 if ( isset( $_GET['action'] ) && 'update-site' == $_GET['action'] ) 
    55     wp_redirect( wp_get_referer() ); 
    5653 
    5754if ( $action ) { 
     
    123120    restore_current_blog(); 
    124121    wp_redirect( add_query_arg( 'update', $update, wp_get_referer() ) ); 
     122    exit(); 
     123} 
     124 
     125if ( isset( $_GET['action'] ) && 'update-site' == $_GET['action'] ) { 
     126    wp_redirect( wp_get_referer() ); 
     127    exit(); 
    125128} 
    126129 
Note: See TracChangeset for help on using the changeset viewer.