From 85cb3060e7adae8942082eecb28a5fb2a5012d3e Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 4 Oct 2006 05:23:23 +0000 Subject: [PATCH] avoid $HTTP_RAW_POST_DATA notices. props mgeisler and Nazgul. fixes #1494 git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4306 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- xmlrpc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmlrpc.php b/xmlrpc.php index bcbd96cab2..1cf8953c22 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -58,7 +58,8 @@ function starify($string) { return str_repeat('*', $i); } -logIO("I", $HTTP_RAW_POST_DATA); +if ( isset($HTTP_RAW_POST_DATA) ) + logIO("I", $HTTP_RAW_POST_DATA); class wp_xmlrpc_server extends IXR_Server {