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
This commit is contained in:
Drew Jaynes 2015-05-24 17:01:37 +00:00
parent 633677efb0
commit 0474aa9374

View File

@ -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 ) )