[wp-trac] [WordPress Trac] #10915: DRY: WP should use current_time() to calculate current time

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 6 15:06:46 UTC 2009


#10915: DRY: WP should use current_time() to calculate current time
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  ryan                  
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  2.9                   
Component:  General       |     Version:                        
 Severity:  normal        |    Keywords:  has-patch current_time
--------------------------+-------------------------------------------------
 Multiple places in the code calculate the current time, repeating what
 {{{current_time('timestamp')}}} already does.

 Patch fixes.

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


More information about the wp-trac mailing list