From d6497ddf709e8afb8352284015c489b0e03f03a5 Mon Sep 17 00:00:00 2001 From: Rachel Baker Date: Sun, 4 Dec 2016 20:37:34 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/branches/4.7@39491 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39431 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index d5306991f8..8bb2e9eb3c 100644 --- a/wp-includes/comment.php +++ b/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 ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 05c6963c41..154eac0c52 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-RC2-39489'; +$wp_version = '4.7-RC2-39491'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.