Changeset 46384
- Timestamp:
- 10/04/2019 02:31:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/sites.php
r46251 r46384 232 232 exit(); 233 233 } 234 } elseif ( ! empty( $_GET['_wp_http_referer'] ) ) { 235 // process query defined by WP_MS_Site_List_Table::extra_table_nav(). 236 wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) ); 234 } else { 235 // Process query defined by WP_MS_Site_List_Table::extra_table_nav(). 236 $location = remove_query_arg( 237 array( '_wp_http_referer', '_wpnonce' ), 238 add_query_arg( $_POST, network_admin_url( 'sites.php' ) ) 239 ); 240 wp_redirect( $location ); 237 241 exit; 238 242 }
Note: See TracChangeset
for help on using the changeset viewer.