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

Props ramiy.
Fixes #39014.

Built from https://develop.svn.wordpress.org/trunk@39490


git-svn-id: http://core.svn.wordpress.org/trunk@39430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Rachel Baker 2016-12-04 20:32:40 +00:00
parent f3b71b49d0
commit 697f079a19
2 changed files with 2 additions and 2 deletions

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

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-39488';
$wp_version = '4.8-alpha-39490';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.