mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-28 17:24:33 +00:00
Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
if ($_SERVER["REQUEST_METHOD"] != "POST") {
|
||||
header('Allow: POST');
|
||||
header("HTTP/1.1 405 Method Not Allowed");
|
||||
header("Content-type: text/plain");
|
||||
header("Content-Type: text/plain");
|
||||
exit;
|
||||
}
|
||||
require( dirname(__FILE__) . '/wp-config.php' );
|
||||
|
||||
Reference in New Issue
Block a user