From d399e57a1f80a4a2e338bfa2c422689f62d7c7a2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 10 Sep 2023 09:04:18 +0000 Subject: [PATCH] Coding Standards: Correct spacing for spread operators. No space allowed between the operator and the variable it applies to. Note: This is enforced by WPCS 3.0.0. Follow-up to [46133]. Props jrf. See #59161, #58831. Built from https://develop.svn.wordpress.org/trunk@56551 git-svn-id: http://core.svn.wordpress.org/trunk@56063 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-panel.php | 2 +- wp-includes/class-wp-customize-section.php | 2 +- wp-includes/class-wp-customize-setting.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-customize-panel.php b/wp-includes/class-wp-customize-panel.php index f880afa8fe..95b7aed468 100644 --- a/wp-includes/class-wp-customize-panel.php +++ b/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/wp-includes/class-wp-customize-section.php b/wp-includes/class-wp-customize-section.php index 65dbe00961..4e58e7d43e 100644 --- a/wp-includes/class-wp-customize-section.php +++ b/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/wp-includes/class-wp-customize-setting.php b/wp-includes/class-wp-customize-setting.php index 33b9436f85..99d0d2e51f 100644 --- a/wp-includes/class-wp-customize-setting.php +++ b/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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 82045a4499..b38c33e737 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56550'; +$wp_version = '6.4-alpha-56551'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.