avoid $HTTP_RAW_POST_DATA notices. props mgeisler and Nazgul. fixes #1494

git-svn-id: https://develop.svn.wordpress.org/trunk@4305 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2006-10-04 05:23:10 +00:00
parent 536873bc26
commit b76635d7c3
1 changed files with 2 additions and 1 deletions

View File

@ -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 {