From 57488f2a542dcfe607dc533394fd16fbacb10ebc Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 30 Apr 2012 00:25:14 +0000 Subject: [PATCH] Add @param for the $fields parameter for XML-RPC's _prepare_taxonomy(). props SergeyBiryukov, fixes #20566. git-svn-id: http://svn.automattic.com/wordpress/trunk@20638 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-xmlrpc-server.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php index 260116d7cd..09e73f1e49 100644 --- a/wp-includes/class-wp-xmlrpc-server.php +++ b/wp-includes/class-wp-xmlrpc-server.php @@ -514,6 +514,7 @@ class wp_xmlrpc_server extends IXR_Server { * @access protected * * @param object $taxonomy The unprepared taxonomy data + * @param array $fields The subset of taxonomy fields to return * @return array The prepared taxonomy data */ protected function _prepare_taxonomy( $taxonomy, $fields ) { @@ -599,7 +600,7 @@ class wp_xmlrpc_server extends IXR_Server { * @access protected * * @param array $post The unprepared post data - * @param array $fields The subset of post fields to return + * @param array $fields The subset of post type fields to return * @return array The prepared post data */ protected function _prepare_post( $post, $fields ) {