Ticket #16907: 16907.patch
| File 16907.patch, 1.5 KB (added by hakre, 2 years ago) |
|---|
-
wp-admin/theme-editor.php
### Eclipse Workspace Patch 1.0 #P wordpress-trunk
93 93 $location = "theme-editor.php?file=$file&theme=$theme&scrollto=$scrollto"; 94 94 } 95 95 96 $location = wp_kses_no_null($location); 97 $strip = array('%0d', '%0a', '%0D', '%0A'); 98 $location = _deep_replace($strip, $location); 99 header("Location: $location"); 96 wp_redirect( $location ); 100 97 exit(); 101 98 102 99 break; -
wp-includes/ms-settings.php
91 91 } else { 92 92 $destination = 'http://' . $current_site->domain . $current_site->path . 'wp-signup.php?new=' . str_replace( '.' . $current_site->domain, '', $domain ); 93 93 } 94 header( 'Location: ' .$destination );95 die();94 wp_redirect( $destination ); 95 exit; 96 96 } 97 97 98 98 if ( ! defined( 'WP_INSTALLING' ) ) { 99 99 if ( $current_site && ! $current_blog ) { 100 100 if ( $current_site->domain != $_SERVER[ 'HTTP_HOST' ] ) { 101 header( 'Location:http://' . $current_site->domain . $current_site->path );101 wp_redirect( 'http://' . $current_site->domain . $current_site->path ); 102 102 exit; 103 103 } 104 104 $current_blog = get_blog_details( array( 'domain' => $current_site->domain, 'path' => $current_site->path ), false );
