WordPress.org

Make WordPress Core

Changeset 34860


Ignore:
Timestamp:
10/06/2015 01:40:09 PM (4 years ago)
Author:
wonderboymusic
Message:

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

Props chriscct7.
Fixes #25406.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r34798 r34860  
    17061706     *     @type string $password Password.
    17071707     *     @type array  $filter   Optional. Modifies the query used to retrieve posts. Accepts 'post_type',
    1708      *                            'post_status', 'number', 'offset', 'orderby', and 'order'.
     1708     *                            'post_status', 'number', 'offset', 'orderby', 's', and 'order'.
    17091709     *                            Default empty array.
    17101710     *     @type array  $fields   Optional. The subset of post type fields to return in the response array.
Note: See TracChangeset for help on using the changeset viewer.