$notify_message .=
sprintf( __( 'In reply to: %s'
),
admin_url( "comment.php?action=editcomment&c={
$comment->comment_parent
}#wpbody-content"
) ) . "\r\n";
} /* translators: %s: Comment text. */
$notify_message .=
sprintf( __( 'Comment: %s'
), "\r\n" .
$comment_content ) . "\r\n\r\n";
$notify_message .=
__( 'You can see all comments on this post here:'
) . "\r\n";
/* translators: Comment notification email subject. 1: Site title, 2: Post title. */
$subject =
sprintf( __( '[%1$s] Comment: "%2$s"'
),
$blogname,
$post->post_title
);
break;
} $notify_message .=
get_permalink( $comment->comment_post_ID
) . "#comments\r\n\r\n";
/* translators: %s: Comment URL. */
$notify_message .=
sprintf( __( 'Permalink: %s'
),
get_comment_link( $comment ) ) . "\r\n";
if ( user_can( $post->post_author, 'edit_comment',
$comment->comment_ID
) ) { if ( EMPTY_TRASH_DAYS
) { /* translators: Comment moderation. %s: Comment action URL. */
$notify_message .=
sprintf( __( 'Trash it: %s'
),
admin_url( "comment.php?action=trash&c={
$comment->comment_ID
}#wpbody-content"
) ) . "\r\n";
} else { /* translators: Comment moderation. %s: Comment action URL. */
$notify_message .=
sprintf( __( 'Delete it: %s'
),
admin_url( "comment.php?action=delete&c={
$comment->comment_ID
}#wpbody-content"
) ) . "\r\n";
}