From 4d41bf712761b0422da4be0c79d078cf7ca94a69 Mon Sep 17 00:00:00 2001 From: Mel Choyce Date: Fri, 20 Oct 2017 10:32:53 +0000 Subject: [PATCH] Customization Locking: Update error message to use existing strings. Props ramiy. See #42024. Built from https://develop.svn.wordpress.org/trunk@41953 git-svn-id: http://core.svn.wordpress.org/trunk@41787 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-manager.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 54aeca9847..1398b43364 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -3173,7 +3173,7 @@ final class WP_Customize_Manager { if ( ! current_user_can( get_post_type_object( 'customize_changeset' )->cap->edit_post, $changeset_post_id ) ) { wp_send_json_error( array( 'code' => 'cannot_remove_changeset_lock', - 'message' => __( 'Sorry you are not allowed to take over.' ), + 'message' => __( 'Sorry, you are not allowed to take over.' ), ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 39fe0df76d..d1b1498320 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-beta3-41952'; +$wp_version = '4.9-beta3-41953'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.