mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Restore [10490], part of which was accidentally reverted.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ec8e347792
commit
ca59a472c8
@ -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