Make WordPress Core

Changeset 32582


Ignore:
Timestamp:
05/24/2015 08:07:01 PM (9 years ago)
Author:
DrewAPicture
Message:

Add missing $args parameter descriptions for wp_xmlrpc_server->wp_getTerm().

Also clarifies the return description.

See #32246.

File:
1 edited

Legend:

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

    r32581 r32582  
    19971997     * @since 3.4.0
    19981998     *
    1999      * @uses get_term()
     1999     * @see get_term()
    20002000     *
    20012001     * @param array  $args {
    20022002     *     Method arguments. Note: arguments must be ordered as documented.
    20032003     *
    2004      *     @type int    $blog_id (unused)
    2005      *     @type string $username
    2006      *     @type string $password
    2007      *     @type string $taxnomy
    2008      *     @type string $term_id
    2009      * }
    2010      * @return array|IXR_Error Array contains:
     2004     *     @type int    $blog_id  Blog ID (unused).
     2005     *     @type string $username Username.
     2006     *     @type string $password Password.
     2007     *     @type string $taxnomy  Taxonomy name.
     2008     *     @type string $term_id  Term ID.
     2009     * }
     2010     * @return array|IXR_Error IXR_Error on failure, array on success, containing:
    20112011     *  - 'term_id'
    20122012     *  - 'name'
Note: See TracChangeset for help on using the changeset viewer.