[wp-trac] Re: [WordPress Trac] #9734: wrong filter used in get_post_modified_time()

WordPress Trac wp-trac at lists.automattic.com
Wed May 13 21:56:10 GMT 2009


#9734: wrong filter used in get_post_modified_time()
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous              
     Type:  defect (bug)       |      Status:  new                    
 Priority:  normal             |   Milestone:  2.8                    
Component:  Template           |     Version:  2.8                    
 Severity:  normal             |    Keywords:  has-patch tested commit
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 Yeah... it gets applied twice:

 {{{
 DB:~/Sites/wp $ grep -r "'get_the_modified_time'" * | grep -v svn
 wp-includes/general-template.php:       return
 apply_filters('get_the_modified_time', $the_time, $d);
 wp-includes/general-template.php:       return
 apply_filters('get_the_modified_time', $time, $d, $gmt);
 }}}

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


More information about the wp-trac mailing list