[wp-trac] [WordPress Trac] #13493: Make the_date() and is_new_day work properly

WordPress Trac wp-trac at lists.automattic.com
Sat May 22 09:14:47 UTC 2010


#13493: Make the_date() and is_new_day work properly
--------------------------+-------------------------------------------------
 Reporter:  banago        |       Owner:  Otto                
     Type:  defect (bug)  |      Status:  new                 
 Priority:  normal        |   Milestone:  3.1                 
Component:  Date/Time     |     Version:                      
 Severity:  normal        |    Keywords:  the_date, is_new_day
--------------------------+-------------------------------------------------
 Otto's recommendations.

 a) fix is_new_day() to actually work.
 b) change the_date and such to always display the date.

 With that patch, somebody could do this for the "only on new days" logic:

 if (is_new_day()) the_date();

 Anybody who actually needed that new day functionality (rare) could then
 fix their theme up quite simply with only a minor adjustment.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13493>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list