Changeset 3928 for trunk/wp-admin/users.php
- Timestamp:
- 06/27/2006 05:38:56 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/users.php
r3864 r3928 125 125 126 126 if (empty($_POST['users'])) { 127 header('Location: ' .$redirect);127 wp_redirect($redirect); 128 128 } 129 129 … … 146 146 } 147 147 148 header('Location: ' .add_query_arg('update', $update, $redirect));148 wp_redirect(add_query_arg('update', $update, $redirect)); 149 149 150 150 break; … … 155 155 156 156 if ( empty($_POST['users']) ) { 157 header('Location: ' .$redirect);157 wp_redirect($redirect); 158 158 } 159 159 … … 186 186 $redirect = add_query_arg('delete_count', $delete_count, $redirect); 187 187 188 header('Location: ' .add_query_arg('update', $update, $redirect));188 wp_redirect(add_query_arg('update', $update, $redirect)); 189 189 190 190 break; … … 195 195 196 196 if ( empty($_POST['users']) ) 197 header('Location: ' .$redirect);197 wp_redirect($redirect); 198 198 199 199 if ( !current_user_can('delete_users') ) … … 262 262 $new_user_login = apply_filters('pre_user_login', sanitize_user(stripslashes($_POST['user_login']), true)); 263 263 $redirect = add_query_arg('usersearch', $new_user_login, $redirect); 264 header('Location: ' .add_query_arg('update', $update, $redirect) . '#user-' . $user_id);264 wp_redirect(add_query_arg('update', $update, $redirect) . '#user-' . $user_id); 265 265 die(); 266 266 }
Note: See TracChangeset
for help on using the changeset viewer.