XML-RPC: allow wp_xmlrpc_server::wp_getPosts() to receive s as a filter.

Props chriscct7.
Fixes #25406.


git-svn-id: https://develop.svn.wordpress.org/trunk@34860 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-10-06 13:40:09 +00:00
parent 7fe6d71d36
commit 02804492e3

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