Comments: Merge similar strings between comments.php and the REST API comments controller.

Merges [39490] to the 4.7 branch.

Props ramiy.
Fixes #39014 for 4.7.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39491 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Rachel Baker 2016-12-04 20:36:02 +00:00
parent ce0fe0838a
commit ac7222bfe9

View File

@ -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 );
}
}