`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. Built from https://develop.svn.wordpress.org/trunk@28636 git-svn-id: http://core.svn.wordpress.org/trunk@28454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
061b5d398b
commit
cd96841632
|
@ -2469,7 +2469,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
}
|
}
|
||||||
// If the page doesn't exist indicate that.
|
// If the page doesn't exist indicate that.
|
||||||
else {
|
else {
|
||||||
return(new IXR_Error(404, __('Sorry, no such page.')));
|
return new IXR_Error( 404, __( 'Sorry, no such page.' ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue