[wp-trac] [WordPress Trac] #15032: WP_Object_Query

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 4 18:24:05 UTC 2010


#15032: WP_Object_Query
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:                
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  General       |     Version:                
 Severity:  normal        |    Keywords:                
--------------------------+-------------------------------------------------
 There's a lot of overlap between WP_Query and WP_User_Query.

 It would be good if they both inherited from a general WP_Object_Query,
 which would handle taxonomy and meta queries.

 We could then more easily create a WP_Comment_Query class, which would
 further reduce code duplication.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15032>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list