Make WordPress Core

Changeset 56551


Ignore:
Timestamp:
09/10/2023 09:02:49 AM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk/src/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-panel.php

    r55276 r56551  
    243243                }
    244244
    245                 if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
     245                if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
    246246                        return false;
    247247                }
  • trunk/src/wp-includes/class-wp-customize-section.php

    r55276 r56551  
    265265                }
    266266
    267                 if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
     267                if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
    268268                        return false;
    269269                }
  • trunk/src/wp-includes/class-wp-customize-setting.php

    r54133 r56551  
    837837                }
    838838
    839                 if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
     839                if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
    840840                        return false;
    841841                }
Note: See TracChangeset for help on using the changeset viewer.