Make WordPress Core

Changeset 32585


Ignore:
Timestamp:
05/24/2015 08:32:09 PM (10 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r32584 r32585  
    22052205     * @since 3.4.0
    22062206     *
    2207      * @uses get_taxonomies()
     2207     * @see get_taxonomies()
    22082208     *
    22092209     * @param array  $args {
    22102210     *     Method arguments. Note: arguments must be ordered as documented.
    22112211     *
    2212      *     @type int    $blog_id (unused)
    2213      *     @type string $username
    2214      *     @type string $password
    2215      * }
    2216      * @return array taxonomies
     2212     *     @type int    $blog_id  Blog ID (unused).
     2213     *     @type string $username Username.
     2214     *     @type string $password Password.
     2215     *     @type array  $filter   Optional. An array of arguments for retrieving taxonomies.
     2216     *     @type array  $fields   Optional. The subset of taxonomy fields to return.
     2217     * }
     2218     * @return array|string An associative array of taxonomy data with returned fields determined
     2219     *                      by `$fields`, or an error on failure.
    22172220     */
    22182221    public function wp_getTaxonomies( $args ) {
Note: See TracChangeset for help on using the changeset viewer.