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:
parent
19800c7b76
commit
3a66624677
@ -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;
|
||||
|
@ -231,7 +231,7 @@ function wp_default_packages_scripts( &$scripts ) {
|
||||
'wp-deprecated',
|
||||
'wp-element',
|
||||
'wp-is-shallow-equal',
|
||||
'wp-polyfill'
|
||||
'wp-polyfill',
|
||||
),
|
||||
'core-data' => array( 'wp-data', 'wp-api-fetch', 'wp-polyfill', 'wp-url', 'lodash' ),
|
||||
'data' => array(
|
||||
|
Loading…
Reference in New Issue
Block a user