[wp-trac] [WordPress Trac] #10935: WP_Query and is_day() bug

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 8 19:30:14 UTC 2012


#10935: WP_Query and is_day() bug
--------------------------+-----------------------------
 Reporter:  raliste       |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Canonical     |     Version:  2.8.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by wonderboymusic):

 Looky there, PHP has a function called {{{checkdate()}}} which validates
 day / month /  year and takes leap years into account. Boom:
 http://php.net/manual/en/function.checkdate.php

 Patch updated.

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


More information about the wp-trac mailing list