Coding Standards: Fix the Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace violations.
See #45934. Built from https://develop.svn.wordpress.org/trunk@44566 git-svn-id: http://core.svn.wordpress.org/trunk@44397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -2897,8 +2897,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
// If we found the page then format the data.
|
||||
if ( $page->ID && ( $page->post_type == 'page' ) ) {
|
||||
return $this->_prepare_page( $page );
|
||||
} // If the page doesn't exist indicate that.
|
||||
else {
|
||||
} else {
|
||||
// If the page doesn't exist indicate that.
|
||||
return new IXR_Error( 404, __( 'Sorry, no such page.' ) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user