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:
parent
620eb3052c
commit
0ff1f1b939
@ -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.' ),
|
||||
) );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user