[wp-trac] [WordPress Trac] #14777: Adding "fields" to arguments array for get_posts()/query_posts()/WP_Query()

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 21 12:28:13 UTC 2010


#14777: Adding "fields" to arguments array for get_posts()/query_posts()/WP_Query()
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:           
     Type:  enhancement   |      Status:  new      
 Priority:  normal        |   Milestone:  3.1      
Component:  Query         |     Version:           
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by scribu):

  * keywords:  needs-patch => has-patch


Comment:

 [14777.diff] accepts 'ids' and 'id=>parent' as arguments for 'fields'.

 It returns immediately after the query is executed, to prevent errors from
 plugins filtering 'the_posts'.

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


More information about the wp-trac mailing list