Index: wp-includes/pluggable.php
===================================================================
--- wp-includes/pluggable.php	(revision 4247)
+++ wp-includes/pluggable.php	(working copy)
@@ -257,7 +257,7 @@
 // Cookie safe redirect.  Works around IIS Set-Cookie bug.
 // http://support.microsoft.com/kb/q176113/
 if ( !function_exists('wp_redirect') ) :
-function wp_redirect($location) {
+function wp_redirect($location, $status = 302) {
 	global $is_IIS;
 
 	$location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%]|i', '', $location);
@@ -266,6 +266,8 @@
 	$strip = array('%0d', '%0a');
 	$location = str_replace($strip, '', $location);
 
+	status_header($status);
+
 	if ($is_IIS)
 		header("Refresh: 0;url=$location");
 	else
