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:
Scott Taylor 2015-10-06 13:41:26 +00:00
parent eeb76b6e56
commit 8c256a3357
2 changed files with 2 additions and 2 deletions

View File

@ -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.
* }

View File

@ -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.