1
0
mirror of https://github.com/WordPress/WordPress.git synced 2025-01-12 11:21:13 +01:00

Comments: Merge a similar string between comments.php, XML-RPC and the REST API comments controller.

Props ramiy.
Fixes .
Built from https://develop.svn.wordpress.org/trunk@39508


git-svn-id: http://core.svn.wordpress.org/trunk@39448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2016-12-05 20:16:41 +00:00
parent 3b37903106
commit a5dbd53a46
2 changed files with 2 additions and 2 deletions

View File

@ -446,7 +446,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
}
if ( ! comments_open( $post->ID ) ) {
return new WP_Error( 'rest_comment_closed', __( 'Sorry, comments are closed on this post.' ), array( 'status' => 403 ) );
return new WP_Error( 'rest_comment_closed', __( 'Sorry, comments are closed for this item.' ), array( 'status' => 403 ) );
}
return true;

View File

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