Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7634 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9087912f89
commit
5b1eff3aaf
@ -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
Block a user