Ticket #45249: 45249.diff
| File 45249.diff, 863 bytes (added by , 7 years ago) |
|---|
-
src/wp-admin/includes/post.php
2096 2096 continue; 2097 2097 } 2098 2098 2099 // If a meta box is just here for back compat, don't show it in the block editor. 2100 if ( isset( $meta_box['args']['__back_compat_meta_box'] ) && $meta_box['args']['__back_compat_meta_box'] ) { 2101 continue; 2102 } 2103 2104 // If a meta box doesn't work in the block editor, don't show it in the block editor. 2105 if ( isset( $meta_box['args']['__block_editor_compatible_meta_box'] ) && ! $meta_box['args']['__block_editor_compatible_meta_box'] ) { 2106 continue; 2107 } 2108 2099 2109 $meta_boxes_per_location[ $location ][] = array( 2100 2110 'id' => $meta_box['id'], 2101 2111 'title' => $meta_box['title'],