[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:30:59 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  |
------------------------------+------------------------------

Comment (by markoheijnen):

 I don't agree that this is a low-hanging fruit. I think it is a feature
 that people aspect.
 I also disagree for using WP_Query since wp_get_recent_posts also use
 get_posts but with another default set of arguments. So it isn't something
 we need to implement to gain more functionality.

 I think we can simplify the checking and use $filter as our default $query
 and transform number to numberposts if numberposts isn't set.

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


More information about the wp-trac mailing list