Restore [10490], part of which was accidentally reverted.
git-svn-id: https://develop.svn.wordpress.org/trunk@12601 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
974b6c1ce4
commit
783803ae22
@ -1210,7 +1210,7 @@ function wp_post_revision_title( $revision, $link = true ) {
|
||||
/* translators: 1: date */
|
||||
$currentf = __( '%1$s [Current Revision]' );
|
||||
|
||||
$date = date_i18n( $datef, strtotime( $revision->post_modified_gmt . ' +0000' ) );
|
||||
$date = date_i18n( $datef, strtotime( $revision->post_modified ) );
|
||||
if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) )
|
||||
$date = "<a href='$link'>$date</a>";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user