WordPress.org

Make WordPress Core

Ticket #2350: xmlrpc.patch

File xmlrpc.patch, 481 bytes (added by Juergen, 16 years ago)
  • wordpress/local/xmlrpc.php

    === wordpress/local/xmlrpc.php
    ==================================================================
     
    66$_COOKIE = array();
    77
    88# fix for mozBlog and other cases where '<?xml' isn't on the very first line
    9 $HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);
     9if (isset($HTTP_RAW_POST_DATA)) {
     10        $HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);
     11}
    1012
    1113include('./wp-config.php');
    1214