if ( ! current_user_can( 'edit_posts' ) ) {
wp_die(
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
- '<p>' . __( 'You are not allowed to edit comments.' ) . '</p>',
+ '<p>' . __( 'Sorry, you are not allowed to edit comments.' ) . '</p>',
403
);
}
$error_msg = __( 'Invalid comment ID.' );
break;
case 2 :
- $error_msg = __( 'You are not allowed to edit comments on this post.' );
+ $error_msg = __( 'Sorry, you are not allowed to edit comments on this post.' );
break;
}
if ( $error_msg )