Clarify that wp_xmlrpc_server->wp_getTaxonomies()
returns an IXR_Error instance on failure.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32586 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f336aab356
commit
248b17974d
@ -2215,8 +2215,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
* @type array $filter Optional. An array of arguments for retrieving taxonomies.
|
* @type array $filter Optional. An array of arguments for retrieving taxonomies.
|
||||||
* @type array $fields Optional. The subset of taxonomy fields to return.
|
* @type array $fields Optional. The subset of taxonomy fields to return.
|
||||||
* }
|
* }
|
||||||
* @return array|string An associative array of taxonomy data with returned fields determined
|
* @return array|IXR_Error An associative array of taxonomy data with returned fields determined
|
||||||
* by `$fields`, or an error on failure.
|
* by `$fields`, or an IXR_Error instance on failure.
|
||||||
*/
|
*/
|
||||||
public function wp_getTaxonomies( $args ) {
|
public function wp_getTaxonomies( $args ) {
|
||||||
if ( ! $this->minimum_args( $args, 3 ) )
|
if ( ! $this->minimum_args( $args, 3 ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user