Docs: Fix incorrect indentation for the wp_xmlrpc_server->wp_getPostFormats()
DocBlock.
Also adds a missing return description. Props TomHarrigan. Fixes #33078. git-svn-id: https://develop.svn.wordpress.org/trunk@33407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
91c3561350
commit
31b4c0c6a5
@ -3888,7 +3888,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves a list of post formats used by the site
|
* Retrieves a list of post formats used by the site.
|
||||||
*
|
*
|
||||||
* @since 3.1.0
|
* @since 3.1.0
|
||||||
*
|
*
|
||||||
@ -3899,7 +3899,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
* @type string $username
|
* @type string $username
|
||||||
* @type string $password
|
* @type string $password
|
||||||
* }
|
* }
|
||||||
* @return array|IXR_Error
|
* @return array|IXR_Error List of post formats, otherwise IXR_Error object.
|
||||||
*/
|
*/
|
||||||
public function wp_getPostFormats( $args ) {
|
public function wp_getPostFormats( $args ) {
|
||||||
$this->escape( $args );
|
$this->escape( $args );
|
||||||
|
Loading…
Reference in New Issue
Block a user