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:
parent
dd4c5f6fd7
commit
75ec5426d0
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue