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:
rob1n
2007-06-02 05:21:18 +00:00
parent 8998b56e76
commit 12c2ef6be0
15 changed files with 18 additions and 18 deletions

View File

@@ -51,7 +51,7 @@ $filename = 'wordpress.' . date('Y-m-d') . '.xml';
header('Content-Description: File Transfer');
header("Content-Disposition: attachment; filename=$filename");
header('Content-type: text/xml; charset=' . get_option('blog_charset'), true);
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
$where = '';
if ( isset( $_GET['author'] ) && $_GET['author'] != 'all' ) {