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
This commit is contained in:
nacin 2012-04-30 00:25:14 +00:00
parent ede4e67046
commit 57488f2a54

View File

@ -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 ) {