From b84d8e4d09568609a0fb1de1f02b910f1175dd10 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Mon, 6 Jul 2020 19:21:33 +0000 Subject: [PATCH] Coding Standards: Correct two coding standards issues introduced in [48277] and [48334]. See #50504, #50550. git-svn-id: https://develop.svn.wordpress.org/trunk@48345 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/misc.php | 4 ++-- src/wp-includes/block-patterns.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index 77d6649138..41fe4ae9fb 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -932,8 +932,8 @@ function admin_color_scheme_picker( $user_id ) { $_wp_admin_css_colors = array_filter( array_merge( array( - 'fresh' => '', - 'light' => '', + 'fresh' => '', + 'light' => '', 'modern' => '', ), $_wp_admin_css_colors diff --git a/src/wp-includes/block-patterns.php b/src/wp-includes/block-patterns.php index df193c0bfa..fe80dc921c 100644 --- a/src/wp-includes/block-patterns.php +++ b/src/wp-includes/block-patterns.php @@ -21,7 +21,7 @@ $core_block_patterns = array( foreach ( $core_block_patterns as $core_block_pattern ) { register_block_pattern( 'core/' . $core_block_pattern, - require( __DIR__ . '/block-patterns/' . $core_block_pattern . '.php' ) + require __DIR__ . '/block-patterns/' . $core_block_pattern . '.php' ); }