[wp-trac] [WordPress Trac] #18694: Improved date arguments for WP_Query

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 13 07:26:00 UTC 2012


#18694: Improved date arguments for WP_Query
--------------------------+------------------------------
 Reporter:  Viper007Bond  |       Owner:  viper007bond
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by scribu):

 * keywords:   => has-patch


Comment:

 For consistency with the other query classes, get_sql() should return an
 associative array.

 Also, I don't think the other methods should be public.

 But a bigger issue is that it's currently limited to the wp_posts table.
 It should be usable with any table.

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


More information about the wp-trac mailing list