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 {