mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Define the default values for the $fields parameter in the xmlrpc_default_post_fields hook docs.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32574 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1611,7 +1611,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @param array $fields Array of post fields.
|
||||
* @param array $fields Array of post fields. Default array contains 'post', 'terms', and 'custom_fields'.
|
||||
* @param string $method Method name.
|
||||
*/
|
||||
$fields = apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' ), 'wp.getPost' );
|
||||
|
||||
Reference in New Issue
Block a user