`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:
Scott Taylor 2014-05-30 19:22:13 +00:00
parent 061b5d398b
commit cd96841632
1 changed files with 1 additions and 1 deletions

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.' ) );
}
}