WordPress.org

Make WordPress Core

Changeset 9861


Ignore:
Timestamp:
11/24/08 20:21:09 (5 years ago)
Author:
ryan
Message:

Send correct status. Props yonosoytu. see #7361

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r8954 r9861  
    13931393        header('WWW-Authenticate: Basic realm="WordPress Atom Protocol"'); 
    13941394        header("HTTP/1.1 401 $msg"); 
    1395         header('Status: ' . $msg); 
     1395        header('Status: 401 ' . $msg); 
    13961396        header('Content-Type: text/html'); 
    13971397        $content = <<<EOD 
Note: See TracChangeset for help on using the changeset viewer.