Code Duplication    Length = 2-2 lines in 2 locations

src/wp-includes/post-template.php 2 locations

@@ 1708-1709 (lines=2) @@
1705
	$currentf  = __( '%s [Current Revision]' );
1706
1707
	$date = date_i18n( $datef, strtotime( $revision->post_modified ) );
1708
	if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) )
1709
		$date = "<a href='$link'>$date</a>";
1710
1711
	if ( !wp_is_post_revision( $revision ) )
1712
		$date = sprintf( $currentf, $date );
@@ 1742-1743 (lines=2) @@
1739
	$gravatar = get_avatar( $revision->post_author, 24 );
1740
1741
	$date = date_i18n( $datef, strtotime( $revision->post_modified ) );
1742
	if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) )
1743
		$date = "<a href='$link'>$date</a>";
1744
1745
	$revision_date_author = sprintf(
1746
		/* translators: post revision title: 1: author avatar, 2: author name, 3: time ago, 4: date */