From bc6b164d235e9626dc44e24bea1fca5dafae0ed5 Mon Sep 17 00:00:00 2001 From: Rachel Baker Date: Sun, 4 Dec 2016 20:31:27 +0000 Subject: [PATCH] Comments: Merge similar strings between comments.php and the REST API comments controller. Props ramiy. Fixes #39014. git-svn-id: https://develop.svn.wordpress.org/trunk@39490 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index d5306991f8..8bb2e9eb3c 100644 --- a/src/wp-includes/comment.php +++ b/src/wp-includes/comment.php @@ -3059,7 +3059,7 @@ function wp_handle_comment_submission( $comment_data ) { } } else { if ( get_option( 'comment_registration' ) ) { - return new WP_Error( 'not_logged_in', __( 'Sorry, you must be logged in to post a comment.' ), 403 ); + return new WP_Error( 'not_logged_in', __( 'Sorry, you must be logged in to comment.' ), 403 ); } }