Add @param for the $fields parameter for XML-RPC's _prepare_taxonomy(). props SergeyBiryukov, fixes #20566.

git-svn-id: https://develop.svn.wordpress.org/trunk@20638 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-04-30 00:25:14 +00:00
parent e7478f0b3b
commit 23cbaa70c8
1 changed files with 2 additions and 1 deletions

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