Use get_post_modified_time filter in get_post_modified_time(). Props Denis-de-Bernardy. fixes #9734
git-svn-id: https://develop.svn.wordpress.org/trunk@11347 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3236a991dd
commit
4fefdf5498
|
@ -1342,7 +1342,7 @@ function get_post_modified_time( $d = 'U', $gmt = false, $post = null, $translat
|
||||||
$time = $post->post_modified;
|
$time = $post->post_modified;
|
||||||
$time = mysql2date($d, $time, $translate);
|
$time = mysql2date($d, $time, $translate);
|
||||||
|
|
||||||
return apply_filters('get_the_modified_time', $time, $d, $gmt);
|
return apply_filters('get_post_modified_time', $time, $d, $gmt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue