mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
ede4e67046
commit
57488f2a54
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user