Make WordPress Core


Ignore:
Timestamp:
05/24/2015 04:44:21 PM (10 years ago)
Author:
DrewAPicture
Message:

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

See #32246.

File:
1 edited

Legend:

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

    r32572 r32573  
    15591559     * and 'enclosure'.
    15601560     *
    1561      * @uses get_post()
    1562      * @param array $args Method parameters. Contains:
    1563      *  - int     $blog_id (unused)
    1564      *  - string  $username
    1565      *  - string  $password
    1566      *  - int     $post_id
    1567      *  - array   $fields optional
     1561     * @see get_post()
     1562     *
     1563     * @param array $args {
     1564     *     Method parameters.
     1565     *
     1566     *     @type int    $blog_id  Blog ID (unused).
     1567     *     @type string $username Username.
     1568     *     @type string $password Password.
     1569     *     @type int    $post_id  Post ID.
     1570     *     @type array  $fields   The subset of post type fields to return.
     1571     * }
    15681572     * @return array|IXR_Error Array contains (based on $fields parameter):
    15691573     *  - 'post_id'
Note: See TracChangeset for help on using the changeset viewer.