mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user