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,10 +3888,10 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves a list of post formats used by the site
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* Retrieves a list of post formats used by the site.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param array $args {
|
||||
* Method arguments. Note: arguments must be ordered as documented.
|
||||
*
|
||||
@ -3899,8 +3899,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* @type string $username
|
||||
* @type string $password
|
||||
* }
|
||||
* @return array|IXR_Error
|
||||
*/
|
||||
* @return array|IXR_Error List of post formats, otherwise IXR_Error object.
|
||||
*/
|
||||
public function wp_getPostFormats( $args ) {
|
||||
$this->escape( $args );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user