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
This commit is contained in:
markjaquith 2006-10-04 05:23:23 +00:00
parent 8cedbe992c
commit 85cb3060e7

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 {