*/
function edit_comment() {
if ( ! current_user_can( 'edit_comment', (int) $_POST['comment_ID'] ) )
- wp_die ( __( 'You are not allowed to edit comments on this post.' ) );
+ wp_die ( __( 'Sorry, you are not allowed to edit comments on this post.' ) );
if ( isset( $_POST['newcomment_author'] ) )
$_POST['comment_author'] = $_POST['newcomment_author'];
$comment->comment_content = format_to_edit( $comment->comment_content );
/**
- * Filter the comment content before editing.
+ * Filters the comment content before editing.
*
* @since 2.0.0
*