From f336aab3562810201985150b8f87536613a5c9ec Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 24 May 2015 20:32:09 +0000 Subject: [PATCH] Add missing argument descriptions for the `$args` parameter in `wp_xmlrpc_server->wp_getTaxonomies()`. Also documents missing `$filter` and `$fields` arguments and associated descriptions, and clarifies the return description. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32585 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-xmlrpc-server.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php index f36730a1e8..4016dcc448 100644 --- a/src/wp-includes/class-wp-xmlrpc-server.php +++ b/src/wp-includes/class-wp-xmlrpc-server.php @@ -2204,16 +2204,19 @@ class wp_xmlrpc_server extends IXR_Server { * * @since 3.4.0 * - * @uses get_taxonomies() + * @see get_taxonomies() * * @param array $args { * Method arguments. Note: arguments must be ordered as documented. * - * @type int $blog_id (unused) - * @type string $username - * @type string $password + * @type int $blog_id Blog ID (unused). + * @type string $username Username. + * @type string $password Password. + * @type array $filter Optional. An array of arguments for retrieving taxonomies. + * @type array $fields Optional. The subset of taxonomy fields to return. * } - * @return array taxonomies + * @return array|string An associative array of taxonomy data with returned fields determined + * by `$fields`, or an error on failure. */ public function wp_getTaxonomies( $args ) { if ( ! $this->minimum_args( $args, 3 ) )