diff --git a/src/wp-includes/class-wp-customize-panel.php b/src/wp-includes/class-wp-customize-panel.php index f880afa8fe..95b7aed468 100644 --- a/src/wp-includes/class-wp-customize-panel.php +++ b/src/wp-includes/class-wp-customize-panel.php @@ -242,7 +242,7 @@ class WP_Customize_Panel { return false; } - if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) { + if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) { return false; } diff --git a/src/wp-includes/class-wp-customize-section.php b/src/wp-includes/class-wp-customize-section.php index 65dbe00961..4e58e7d43e 100644 --- a/src/wp-includes/class-wp-customize-section.php +++ b/src/wp-includes/class-wp-customize-section.php @@ -264,7 +264,7 @@ class WP_Customize_Section { return false; } - if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) { + if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) { return false; } diff --git a/src/wp-includes/class-wp-customize-setting.php b/src/wp-includes/class-wp-customize-setting.php index 33b9436f85..99d0d2e51f 100644 --- a/src/wp-includes/class-wp-customize-setting.php +++ b/src/wp-includes/class-wp-customize-setting.php @@ -836,7 +836,7 @@ class WP_Customize_Setting { return false; } - if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) { + if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) { return false; }