[wp-trac] [WordPress Trac] #6641: get_the_time filter called twice

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 8 17:16:34 GMT 2008


#6641: get_the_time filter called twice
----------------------+-----------------------------------------------------
 Reporter:  filosofo  |       Owner:  anonymous                                  
     Type:  defect    |      Status:  new                                        
 Priority:  normal    |   Milestone:  2.6                                        
Component:  General   |     Version:                                             
 Severity:  normal    |    Keywords:  get_the_time get_post_time filter has-patch
----------------------+-----------------------------------------------------
 The "get_the_time" filter is just about useless, because if you call the
 function {{{get_the_time()}}}, the time is filtered by "get_the_time"
 twice: once in {{{get_post_time()}}} and again in {{{get_the_time()}}}

 Patch changes the filter from "get_the_time" to "get_post_time" in
 {{{get_post_time()}}}

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


More information about the wp-trac mailing list