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
This commit is contained in:
Mel Choyce 2017-10-20 10:31:30 +00:00
parent 620eb3052c
commit 0ff1f1b939
1 changed files with 1 additions and 1 deletions

View File

@ -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.' ),
) );
}