mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Send correct status. Props yonosoytu. see #7361
git-svn-id: https://develop.svn.wordpress.org/trunk@9861 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user