Send correct status. Props yonosoytu. see #7361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0d27eeb5c2
commit
a587695265
|
@ -1392,7 +1392,7 @@ EOD;
|
|||
nocache_headers();
|
||||
header('WWW-Authenticate: Basic realm="WordPress Atom Protocol"');
|
||||
header("HTTP/1.1 401 $msg");
|
||||
header('Status: ' . $msg);
|
||||
header('Status: 401 ' . $msg);
|
||||
header('Content-Type: text/html');
|
||||
$content = <<<EOD
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
|
|
Loading…
Reference in New Issue