summaryrefslogtreecommitdiffstats
path: root/wp-includes/pluggable.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-10-03 10:52:54 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-10-03 10:52:54 +0000
commit23c0a299ada091cdeece968ad5cd3bdd20f5ef3c (patch)
tree9bdf04e7880e6188eca43a3bd161320568f205e4 /wp-includes/pluggable.php
parent081300d1c11041e8b678f9cb0736468aa11e94f1 (diff)
downloadwordpress-mu-23c0a299ada091cdeece968ad5cd3bdd20f5ef3c.tar.gz
wordpress-mu-23c0a299ada091cdeece968ad5cd3bdd20f5ef3c.tar.xz
wordpress-mu-23c0a299ada091cdeece968ad5cd3bdd20f5ef3c.zip
WP Merge to rev 4273
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@788 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/pluggable.php')
-rw-r--r--wp-includes/pluggable.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php
index 0c33ad7..71e28fa 100644
--- a/wp-includes/pluggable.php
+++ b/wp-includes/pluggable.php
@@ -272,12 +272,12 @@ function wp_redirect($location, $status = 302) {
$strip = array('%0d', '%0a');
$location = str_replace($strip, '', $location);
- status_header($status);
-
- if ($is_IIS)
+ if ( $is_IIS ) {
header("Refresh: 0;url=$location");
- else
+ } else {
+ status_header($status); // This causes problems on IIS
header("Location: $location");
+ }
}
endif;