From 31b4c0c6a53334459218c50043794424fef4b127 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 23 Jul 2015 13:18:07 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-xmlrpc-server.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php index 7084a7bdfe..dab9863887 100644 --- a/src/wp-includes/class-wp-xmlrpc-server.php +++ b/src/wp-includes/class-wp-xmlrpc-server.php @@ -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 );