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

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@32573 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-05-24 16:44:21 +00:00
parent a52e959d8e
commit 2c2cf3b037

View File

@ -1558,13 +1558,17 @@ class wp_xmlrpc_server extends IXR_Server {
* groups are 'post' (all basic fields), 'taxonomies', 'custom_fields', * groups are 'post' (all basic fields), 'taxonomies', 'custom_fields',
* and 'enclosure'. * and 'enclosure'.
* *
* @uses get_post() * @see get_post()
* @param array $args Method parameters. Contains: *
* - int $blog_id (unused) * @param array $args {
* - string $username * Method parameters.
* - string $password *
* - int $post_id * @type int $blog_id Blog ID (unused).
* - array $fields optional * @type string $username Username.
* @type string $password Password.
* @type int $post_id Post ID.
* @type array $fields The subset of post type fields to return.
* }
* @return array|IXR_Error Array contains (based on $fields parameter): * @return array|IXR_Error Array contains (based on $fields parameter):
* - 'post_id' * - 'post_id'
* - 'post_title' * - 'post_title'