From 2c2cf3b0375aafcc9266a65feb89d9fb4a135bab Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 24 May 2015 16:44:21 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-xmlrpc-server.php | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php index d90df87a94..1eef2ffee0 100644 --- a/src/wp-includes/class-wp-xmlrpc-server.php +++ b/src/wp-includes/class-wp-xmlrpc-server.php @@ -1558,13 +1558,17 @@ class wp_xmlrpc_server extends IXR_Server { * groups are 'post' (all basic fields), 'taxonomies', 'custom_fields', * and 'enclosure'. * - * @uses get_post() - * @param array $args Method parameters. Contains: - * - int $blog_id (unused) - * - string $username - * - string $password - * - int $post_id - * - array $fields optional + * @see get_post() + * + * @param array $args { + * Method parameters. + * + * @type int $blog_id Blog ID (unused). + * @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): * - 'post_id' * - 'post_title'