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:
parent
2c2cf3b037
commit
6548f58224
@ -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' );
|
||||
|
Loading…
Reference in New Issue
Block a user