]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/comment.php
WordPress 4.6.3
[autoinstalls/wordpress.git] / wp-admin / includes / comment.php
index 3037c4102e744b4444c3cdd40271f2ac400e4c43..87e0a25d53a02243c9c6ab2fdea1c7fd3e25682c 100644 (file)
@@ -46,7 +46,7 @@ function comment_exists( $comment_author, $comment_date, $timezone = 'blog' ) {
  */
 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'];
@@ -102,7 +102,7 @@ function get_comment_to_edit( $id ) {
 
        $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
         *