Code Duplication    Length = 4-5 lines in 2 locations

src/wp-includes/pluggable.php 2 locations

@@ 1501-1505 (lines=5) @@
1498
	$notify_message .= sprintf( __('Permalink: %s'), get_comment_link( $comment ) ) . "\r\n";
1499
1500
	if ( user_can( $post->post_author, 'edit_comment', $comment->comment_ID ) ) {
1501
		if ( EMPTY_TRASH_DAYS ) {
1502
			$notify_message .= sprintf( __( 'Trash it: %s' ), admin_url( "comment.php?action=trash&c={$comment->comment_ID}#wpbody-content" ) ) . "\r\n";
1503
		} else {
1504
			$notify_message .= sprintf( __( 'Delete it: %s' ), admin_url( "comment.php?action=delete&c={$comment->comment_ID}#wpbody-content" ) ) . "\r\n";
1505
		}
1506
		$notify_message .= sprintf( __( 'Spam it: %s' ), admin_url( "comment.php?action=spam&c={$comment->comment_ID}#wpbody-content" ) ) . "\r\n";
1507
	}
1508
@@ 1661-1664 (lines=4) @@
1658
	/* translators: Comment moderation. 1: Comment action URL */
1659
	$notify_message .= sprintf( __( 'Approve it: %s' ), admin_url( "comment.php?action=approve&c={$comment_id}#wpbody-content" ) ) . "\r\n";
1660
1661
	if ( EMPTY_TRASH_DAYS ) {
1662
		/* translators: Comment moderation. 1: Comment action URL */
1663
		$notify_message .= sprintf( __( 'Trash it: %s' ), admin_url( "comment.php?action=trash&c={$comment_id}#wpbody-content" ) ) . "\r\n";
1664
	} else {
1665
		/* translators: Comment moderation. 1: Comment action URL */
1666
		$notify_message .= sprintf( __( 'Delete it: %s' ), admin_url( "comment.php?action=delete&c={$comment_id}#wpbody-content" ) ) . "\r\n";
1667
	}