wp_xmlrpc_server::wp_getPage() should return new IXR_Error( instead of return(new IXR_Error(. One of the few places that is unparseable by static analysis.

See #27882.


git-svn-id: https://develop.svn.wordpress.org/trunk@28636 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-30 19:21:33 +00:00
parent 273fd5ca4c
commit fc2601044b

View File

@ -2469,7 +2469,7 @@ class wp_xmlrpc_server extends IXR_Server {
}
// If the page doesn't exist indicate that.
else {
return(new IXR_Error(404, __('Sorry, no such page.')));
return new IXR_Error( 404, __( 'Sorry, no such page.' ) );
}
}