We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cf2453 commit 5592160Copy full SHA for 5592160
1 file changed
src/wp-admin/includes/post.php
@@ -2429,17 +2429,11 @@ function the_block_editor_meta_boxes() {
2429
continue;
2430
}
2431
2432
- $meta_box_entry = array(
2433
- 'id' => $meta_box['id'],
2434
- 'title' => $meta_box['title'],
+ $meta_boxes_per_location[ $location ][] = array(
+ 'id' => $meta_box['id'],
+ 'title' => $meta_box['title'],
2435
+ '__rtc_compatible' => ! empty( $meta_box['args']['__rtc_compatible_meta_box'] ),
2436
);
-
2437
- // Mark meta boxes compatible with real-time collaboration.
2438
- if ( ! empty( $meta_box['args']['__rtc_compatible_meta_box'] ) ) {
2439
- $meta_box_entry['__rtc_compatible'] = true;
2440
- }
2441
2442
- $meta_boxes_per_location[ $location ][] = $meta_box_entry;
2443
2444
2445
0 commit comments