@@ 1648-1649 (lines=2) @@ | ||
1645 | $currentf = __( '%s [Current Revision]' ); |
|
1646 | ||
1647 | $date = date_i18n( $datef, strtotime( $revision->post_modified ) ); |
|
1648 | if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) ) |
|
1649 | $date = "<a href='$link'>$date</a>"; |
|
1650 | ||
1651 | if ( !wp_is_post_revision( $revision ) ) |
|
1652 | $date = sprintf( $currentf, $date ); |
|
@@ 1682-1683 (lines=2) @@ | ||
1679 | $gravatar = get_avatar( $revision->post_author, 24 ); |
|
1680 | ||
1681 | $date = date_i18n( $datef, strtotime( $revision->post_modified ) ); |
|
1682 | if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) ) |
|
1683 | $date = "<a href='$link'>$date</a>"; |
|
1684 | ||
1685 | $revision_date_author = sprintf( |
|
1686 | /* translators: post revision title: 1: author avatar, 2: author name, 3: time ago, 4: date */ |