summaryrefslogtreecommitdiffstats
path: root/wp-inst/xmlrpc.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-31 09:16:26 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-31 09:16:26 +0000
commitb42619eaf1fc327087206d1c5057fecd2d089867 (patch)
tree07d43016324e7186db4bbf300b72179fcd225351 /wp-inst/xmlrpc.php
parent229ea6db0019536f1efea2dadfe3ad53284a9574 (diff)
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@521 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/xmlrpc.php')
-rw-r--r--wp-inst/xmlrpc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-inst/xmlrpc.php b/wp-inst/xmlrpc.php
index e5473e0..045acba 100644
--- a/wp-inst/xmlrpc.php
+++ b/wp-inst/xmlrpc.php
@@ -6,7 +6,8 @@ define('XMLRPC_REQUEST', true);
$_COOKIE = array();
# 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');