Skip to content

Commit 7d89905

Browse files
committed
Allow null awareness values to remove a client from a room
1 parent fb6fba4 commit 7d89905

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/collaboration/class-wp-http-polling-sync-server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function register_routes(): void {
122122
),
123123
'awareness' => array(
124124
'required' => true,
125-
'type' => 'object',
125+
'type' => array( 'object', 'null' ),
126126
),
127127
'client_id' => array(
128128
'minimum' => 1,

0 commit comments

Comments
 (0)