Skip to content

Commit 466a3f4

Browse files
committed
Remove unnecessary is_wp_error check
1 parent d1d3040 commit 466a3f4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,6 @@ public function handle_request( WP_REST_Request $request ) {
231231

232232
// Merge awareness state.
233233
$merged_awareness = $this->process_awareness_update( $room, $client_id, $awareness );
234-
if ( is_wp_error( $merged_awareness ) ) {
235-
return $merged_awareness;
236-
}
237234

238235
// The lowest client ID is nominated to perform compaction when needed.
239236
$is_compactor = false;

0 commit comments

Comments
 (0)