[wp-trac] [WordPress Trac] #10935: WP_Query and is_day() bug
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 9 16:24:38 UTC 2009
#10935: WP_Query and is_day() bug
--------------------------+-------------------------------------------------
Reporter: raliste | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version: 2.8.4
Severity: normal | Keywords: needs-patch reporter-feedback
--------------------------+-------------------------------------------------
Comment(by raliste):
You are right, but the actual bug is in doing the query to the database. I
thought that if you validate the day before, you could save those wasted
queries. Also, months never have more than 31 days, to querying for day 58
should obviously return false, because it's not a day!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10935#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list