Make WordPress Core


Ignore:
Timestamp:
05/24/2015 05:01:37 PM (10 years ago)
Author:
DrewAPicture
Message:

Convert the $args parameter documentation in wp_xmlrpc_server->wp_deleteTerm() into a hash notation.

Also clarifies the return description.

See #32246.

File:
1 edited

Legend:

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

    r32577 r32578  
    19211921     * @since 3.4.0
    19221922     *
    1923      * @uses wp_delete_term()
     1923     * @see wp_delete_term()
    19241924     *
    19251925     * @param array  $args {
    1926      *     Method parameters, in this order:
    1927      *
    1928      *     @type int    $blog_id (unused)
    1929      *     @type string $username
    1930      *     @type string $password
    1931      *     @type string $taxnomy_name
    1932      *     @type string $term_id
    1933      * }
    1934      * @return bool|IXR_Error If it suceeded true else a reason why not
     1926     *     Method parameters.
     1927     *
     1928     *     @type int    $blog_id      Blog ID (unused).
     1929     *     @type string $username     Username.
     1930     *     @type string $password     Password.
     1931     *     @type string $taxnomy_name Taxonomy name.
     1932     *     @type int    $term_id      Term ID.
     1933     * }
     1934     * @return bool|IXR_Error True on success, IXR_Error instance on failure.
    19351935     */
    19361936    public function wp_deleteTerm( $args ) {
Note: See TracChangeset for help on using the changeset viewer.