Skip to content

Commit

Permalink
Add @param for the $fields parameter for XML-RPC's _prepare_taxonomy(…
Browse files Browse the repository at this point in the history
…). props SergeyBiryukov, fixes #20566.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
nacin committed Apr 30, 2012
1 parent ede4e67 commit 57488f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wp-includes/class-wp-xmlrpc-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ protected function minimum_args( $args, $count ) {
* @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 ) {
Expand Down Expand Up @@ -599,7 +600,7 @@ protected function _convert_date_gmt( $date_gmt, $date ) {
* @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 ) {
Expand Down

0 comments on commit 57488f2

Please sign in to comment.