Check if HTTP_RAW_POST_DATA is set to avoid undefined var warning. Props Juergen. fixes #2350
git-svn-id: https://develop.svn.wordpress.org/trunk@3498 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d9f55997b3
commit
24e69f293f
|
@ -6,7 +6,8 @@ define('XMLRPC_REQUEST', true);
|
||||||
$_COOKIE = array();
|
$_COOKIE = array();
|
||||||
|
|
||||||
# fix for mozBlog and other cases where '<?xml' isn't on the very first line
|
# fix for mozBlog and other cases where '<?xml' isn't on the very first line
|
||||||
$HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);
|
if ( isset($HTTP_RAW_POST_DATA) )
|
||||||
|
$HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);
|
||||||
|
|
||||||
include('./wp-config.php');
|
include('./wp-config.php');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue