From 0474aa9374154d5f3820208ff37c204ec959d60c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 24 May 2015 17:01:37 +0000 Subject: [PATCH] Convert the `$args` parameter documentation in `wp_xmlrpc_server->wp_deleteTerm()` into a hash notation. Also clarifies the return description. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32578 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-xmlrpc-server.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php index bf6545f85e..9dff39fda0 100644 --- a/src/wp-includes/class-wp-xmlrpc-server.php +++ b/src/wp-includes/class-wp-xmlrpc-server.php @@ -1920,18 +1920,18 @@ class wp_xmlrpc_server extends IXR_Server { * * @since 3.4.0 * - * @uses wp_delete_term() + * @see wp_delete_term() * * @param array $args { - * Method parameters, in this order: + * Method parameters. * - * @type int $blog_id (unused) - * @type string $username - * @type string $password - * @type string $taxnomy_name - * @type string $term_id + * @type int $blog_id Blog ID (unused). + * @type string $username Username. + * @type string $password Password. + * @type string $taxnomy_name Taxonomy name. + * @type int $term_id Term ID. * } - * @return bool|IXR_Error If it suceeded true else a reason why not + * @return bool|IXR_Error True on success, IXR_Error instance on failure. */ public function wp_deleteTerm( $args ) { if ( ! $this->minimum_args( $args, 5 ) )