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:
parent
273fd5ca4c
commit
fc2601044b
@ -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.' ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user