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

git-svn-id: http://svn.automattic.com/wordpress/trunk@4305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-10-04 05:23:10 +00:00
parent dd4c5f6fd7
commit 75ec5426d0
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 {