[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
       
    Sat Sep  4 14:48:19 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:  Awaiting Review
Component:  Query         |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
Comment(by filosofo):
 I agree that this would be helpful.  I am continually iterating through an
 array of post objects just to populate another array with a single object
 property.  This would eliminate that extra runtime work and reduce db
 work.
-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14777#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list