Make WordPress Core

Ticket #9093: wp-includes--class-IXR.php.diff

File wp-includes--class-IXR.php.diff, 496 bytes (added by josephscott, 16 years ago)
  • wp-includes/class-IXR.php

     
    301301        if (!$data) {
    302302            global $HTTP_RAW_POST_DATA;
    303303            if (!$HTTP_RAW_POST_DATA) {
     304               header( 'Content-Type: text/plain' );
    304305               die('XML-RPC server accepts POST requests only.');
    305306            }
    306307            $data = $HTTP_RAW_POST_DATA;