Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public function check_permissions( WP_REST_Request $request ) {
foreach ( $existing_awareness as $entry ) {
if ( $client_id === $entry['client_id'] && $wp_user_id !== $entry['wp_user_id'] ) {
return new WP_Error(
'forbidden',
'rest_cannot_edit',
__( 'Client ID is already in use by another user.', 'gutenberg' ),
array( 'status' => 403 )
);
Expand Down
Loading