WordPress.org

Make WordPress Core

Changeset 3498


Ignore:
Timestamp:
01/30/2006 09:19:44 PM (16 years ago)
Author:
ryan
Message:

Check if HTTP_RAW_POST_DATA is set to avoid undefined var warning. Props Juergen. fixes #2350

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r3431 r3498  
    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);
    1011
    1112include('./wp-config.php');
Note: See TracChangeset for help on using the changeset viewer.