From 7cafb17a5ed8f5ac6de24bf1774720110ed27866 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 24 May 2015 20:07:01 +0000 Subject: [PATCH] Add missing `$args` parameter descriptions for `wp_xmlrpc_server->wp_getTerm()`. Also clarifies the return description. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32582 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-xmlrpc-server.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php index d633e5bada..94c5a4e59a 100644 --- a/src/wp-includes/class-wp-xmlrpc-server.php +++ b/src/wp-includes/class-wp-xmlrpc-server.php @@ -1996,18 +1996,18 @@ class wp_xmlrpc_server extends IXR_Server { * * @since 3.4.0 * - * @uses get_term() + * @see get_term() * * @param array $args { * Method arguments. Note: arguments must be ordered as documented. * - * @type int $blog_id (unused) - * @type string $username - * @type string $password - * @type string $taxnomy - * @type string $term_id + * @type int $blog_id Blog ID (unused). + * @type string $username Username. + * @type string $password Password. + * @type string $taxnomy Taxonomy name. + * @type string $term_id Term ID. * } - * @return array|IXR_Error Array contains: + * @return array|IXR_Error IXR_Error on failure, array on success, containing: * - 'term_id' * - 'name' * - 'slug'