From 3a66624677838bc04c316d2a94b2b9ef2466e2fb Mon Sep 17 00:00:00 2001 From: Anton Timmermans Date: Fri, 14 Dec 2018 11:01:54 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/template.php | 2 +- src/wp-includes/script-loader.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 04e081cbf4..65c268b3e8 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -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; diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index fdd2417ac0..b4c9d8d177 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -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(