[wp-trac] [WordPress Trac] #18694: Improved date arguments for WP_Query
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 13 06:58:33 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: |
--------------------------+------------------------------
Comment (by Viper007Bond):
Okay! Minus a little bit of missing phpDoc, I think this might be good to
go. This is certainly not !WordPress 3.4.0 material because it will need
major testing but maybe it can go in early into 3.5.0 or something.
The legacy individual date/time parameters have been ported over to the
new class and appear to be working the same, but this needs to testing to
make sure it's 100% backwards compatible. Not sure how to design unit
tests around this.
I also wasn't sure the best way to integrate it into `WP_Query` since
`WP_Tax_Query` and `WP_Meta_Query` are both integrated differently, but I
took a stab at it.
Thoughts, comments, and feedback is desired! :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18694#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list