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
This commit is contained in:
parent
9613dd3a84
commit
f336aab356
@ -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 ) )
|
||||
|
Loading…
Reference in New Issue
Block a user