WordPress.org

Make WordPress Core

Changeset 32583


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

Add missing argument descriptions for the $args parameter in wp_xmlrpc_server->wp_getTerms().

Also clarifies the return description.

See #32246.

File:
1 edited

Legend:

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

    r32582 r32583  
    20632063     * Accepted keys are 'number', 'offset', 'orderby', 'order', 'hide_empty', and 'search'.
    20642064     *
    2065      * @uses get_terms()
     2065     * @see get_terms()
    20662066     *
    20672067     * @param array  $args {
    20682068     *     Method arguments. Note: arguments must be ordered as documented.
    20692069     *
    2070      *     @type int    $blog_id (unused)
    2071      *     @type string $username
    2072      *     @type string $password
    2073      *     @type string $taxnomy
    2074      *     @type array  $filter (optional)
    2075      * }
    2076      * @return array|IXR_Error terms
     2070     *     @type int    $blog_id  Blog ID (unused).
     2071     *     @type string $username Username.
     2072     *     @type string $password Password
     2073     *     @type string $taxnomy  Taxonomy name.
     2074     *     @type array  $filter   Optional. Modifies the query used to retrieve posts. Accepts 'number',
     2075     *                            'offset', 'orderby', 'order', 'hide_empty', and 'search'. Default empty array.
     2076     * }
     2077     * @return array|IXR_Error An associative array of terms data on success, IXR_Error instance otherwise.
    20772078     */
    20782079    public function wp_getTerms( $args ) {
Note: See TracChangeset for help on using the changeset viewer.