mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 09:10:06 +00:00
General: Fix code formatting issues.
Fix code formatting after [44174] and [44177]. git-svn-id: https://develop.svn.wordpress.org/trunk@44178 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1138,7 +1138,7 @@ function do_meta_boxes( $screen, $context, $object ) {
|
||||
}
|
||||
|
||||
$block_compatible = true;
|
||||
if ( is_array( $box[ 'args' ] ) ) {
|
||||
if ( is_array( $box['args'] ) ) {
|
||||
// If a meta box is just here for back compat, don't show it in the block editor.
|
||||
if ( $screen->is_block_editor() && isset( $box['args']['__back_compat_meta_box'] ) && $box['args']['__back_compat_meta_box'] ) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user