[wp-trac] [WordPress Trac] #21623: XML-RPC method wp.getPosts should be able to search

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 19 21:05:10 UTC 2012


#21623: XML-RPC method wp.getPosts should be able to search
------------------------------+------------------------------
 Reporter:  markoheijnen      |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  XML-RPC           |     Version:  3.4
 Severity:  normal            |  Resolution:
 Keywords:  mobile has-patch  |
------------------------------+------------------------------
Changes (by ericmann):

 * keywords:  needs-patch mobile => mobile has-patch


Comment:

 @maxcutler I agree that we should look into a more significant rewrite,
 but at a very minimum the attached patch does extend a `search` parameter
 to the filter collection.

 It's low-hanging fruit and, if we can't get a full rewrite of
 `wp.getPosts` done for 3.5, it will still enable rudimentary searching for
 now.  It also establishes the search parameter for the time being, and we
 can retain backwards-compat in the future.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21623#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list