Files
WordPress/wp-includes
Boone Gorges baff5f2b99 Better "inclusive" support for string values in WP_Date_Query.
The 'inclusive' parameter for WP_Date_Query determines whether non-precise
dates for 'before' and 'after' will be rounded up or down. Previously, this was
supported only when 'before' and 'after' were arrays; string-formatted dates
were run through strtotime(), which rounded them all down (inclusive in the
case of after, non-inclusive in the case of before). Now, we attempt to parse
formats that look like MySQL-formatted date strings, and apply inclusive logic
to them if we recognize them successfully.

Fixes #29908.
string values. Array values support the 'inclusive
Built from https://develop.svn.wordpress.org/trunk@29936


git-svn-id: http://core.svn.wordpress.org/trunk@29688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-17 02:28:19 +00:00
..
2014-09-11 19:07:17 +00:00
2014-03-27 22:41:14 +00:00
2014-10-16 19:02:38 +00:00
2014-08-09 19:30:17 +00:00
2014-08-09 19:30:17 +00:00
2014-06-10 00:30:15 +00:00
2014-10-16 04:45:17 +00:00
2014-09-12 05:51:17 +00:00
2014-03-26 18:43:14 +00:00
2014-10-16 19:02:38 +00:00
2014-09-29 04:07:15 +00:00
2013-10-30 14:39:10 +00:00
2014-07-09 18:07:16 +00:00