From 6548f58224f58d471bd9fe90c920d8aae955c451 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 24 May 2015 16:45:53 +0000 Subject: [PATCH] Define the default values for the `$fields` parameter in the `xmlrpc_default_post_fields` hook docs. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32574 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-xmlrpc-server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php index 1eef2ffee0..b2d8f83153 100644 --- a/src/wp-includes/class-wp-xmlrpc-server.php +++ b/src/wp-includes/class-wp-xmlrpc-server.php @@ -1611,7 +1611,7 @@ class wp_xmlrpc_server extends IXR_Server { * * @since 3.4.0 * - * @param array $fields Array of post fields. + * @param array $fields Array of post fields. Default array contains 'post', 'terms', and 'custom_fields'. * @param string $method Method name. */ $fields = apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' ), 'wp.getPost' );