Changeset 1179
- Timestamp:
- 01/02/08 17:49:22 (1 year ago)
- Files:
-
- trunk/wp-admin/users.php (modified) (4 diffs)
- trunk/wp-signup.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/users.php
r1139 r1179 256 256 257 257 if ( empty($_POST['users']) ) { 258 header('Location:users.php');258 wp_redirect('users.php'); 259 259 } 260 260 … … 273 273 } 274 274 275 header('Location:users.php?update=' . $update);275 wp_redirect('users.php?update=' . $update); 276 276 277 277 break; … … 282 282 283 283 if (empty($_POST['users'])) { 284 header('Location:users.php');284 wp_redirect('users.php'); 285 285 } 286 286 … … 357 357 $location = 'users.php?update=add'; 358 358 } 359 header("Location:$location");359 wp_redirect("$location"); 360 360 die(); 361 361 } else { 362 header('Location:users.php?update=notfound' );362 wp_redirect('users.php?update=notfound' ); 363 363 die(); 364 364 } 365 365 } 366 header('Location:users.php');366 wp_redirect('users.php'); 367 367 die(); 368 368 break; trunk/wp-signup.php
r1167 r1179 9 9 10 10 if( is_array( get_site_option( 'illegal_names' )) && $_GET[ 'new' ] != '' && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true ) { 11 header( "Location:http://{$current_site->domain}{$current_site->path}" );11 wp_redirect( "http://{$current_site->domain}{$current_site->path}" ); 12 12 die(); 13 13 } … … 20 20 21 21 if( $current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path ) { 22 header( "Location:http://" . $current_site->domain . $current_site->path . "wp-signup.php" );22 wp_redirect( "http://" . $current_site->domain . $current_site->path . "wp-signup.php" ); 23 23 die(); 24 24 }
