diff --git a/src/wp-includes/class-wp-customize-panel.php b/src/wp-includes/class-wp-customize-panel.php index f880afa8fe4a6..95b7aed468814 100644 --- a/src/wp-includes/class-wp-customize-panel.php +++ b/src/wp-includes/class-wp-customize-panel.php @@ -242,7 +242,7 @@ public function check_capabilities() { 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 65dbe00961dd5..4e58e7d43e64d 100644 --- a/src/wp-includes/class-wp-customize-section.php +++ b/src/wp-includes/class-wp-customize-section.php @@ -264,7 +264,7 @@ final public function check_capabilities() { 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 33b9436f859f6..99d0d2e51f199 100644 --- a/src/wp-includes/class-wp-customize-setting.php +++ b/src/wp-includes/class-wp-customize-setting.php @@ -836,7 +836,7 @@ final public function check_capabilities() { 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; }