From 0ff1f1b939b39bc7526f695cff478a5ee09654c7 Mon Sep 17 00:00:00 2001 From: Mel Choyce Date: Fri, 20 Oct 2017 10:31:30 +0000 Subject: [PATCH] Customization Locking: Update error message to use existing strings. Props ramiy. See #42024. git-svn-id: https://develop.svn.wordpress.org/trunk@41953 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 54aeca9847..1398b43364 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/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.' ), ) ); }