mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user