mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
XML-RPC: allow wp_xmlrpc_server::wp_getPosts()
to receive s
as a filter.
Props chriscct7. Fixes #25406. Built from https://develop.svn.wordpress.org/trunk@34860 git-svn-id: http://core.svn.wordpress.org/trunk@34825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
eeb76b6e56
commit
8c256a3357
@ -1705,7 +1705,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* @type string $username Username.
|
||||
* @type string $password Password.
|
||||
* @type array $filter Optional. Modifies the query used to retrieve posts. Accepts 'post_type',
|
||||
* 'post_status', 'number', 'offset', 'orderby', and 'order'.
|
||||
* 'post_status', 'number', 'offset', 'orderby', 's', and 'order'.
|
||||
* Default empty array.
|
||||
* @type array $fields Optional. The subset of post type fields to return in the response array.
|
||||
* }
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34859';
|
||||
$wp_version = '4.4-alpha-34860';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user