mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@56551 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user