Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
79e2e8fa76
commit
77be80f02c
|
@ -810,7 +810,7 @@ function get_post_time( $d = 'U', $gmt = false ) { // returns timestamp
|
|||
$time = $post->post_date;
|
||||
|
||||
$time = mysql2date($d, $time);
|
||||
return apply_filters('get_the_time', $time, $d, $gmt);
|
||||
return apply_filters('get_post_time', $time, $d, $gmt);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue