Make WordPress Core

Changeset 57365


Ignore:
Timestamp:
01/26/2024 05:51:37 PM (3 years ago)
Author:
jorgefilipecosta
Message:

Coding Standards: Fix some spaces on block-supports background.

When we run composer format these changes are applied so I guess we should just commit them to avoid seeing the changes again the future.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-supports/background.php

    r57254 r57365  
    7171        }
    7272
    73         $background_size         = isset( $block_attributes['style']['background']['backgroundSize'] )
     73        $background_size     = isset( $block_attributes['style']['background']['backgroundSize'] )
    7474                ? $block_attributes['style']['background']['backgroundSize']
    7575                : 'cover';
    76         $background_position     = isset( $block_attributes['style']['background']['backgroundPosition'] )
     76        $background_position = isset( $block_attributes['style']['background']['backgroundPosition'] )
    7777                ? $block_attributes['style']['background']['backgroundPosition']
    7878                : null;
    79         $background_repeat       = isset( $block_attributes['style']['background']['backgroundRepeat'] )
     79        $background_repeat   = isset( $block_attributes['style']['background']['backgroundRepeat'] )
    8080                ? $block_attributes['style']['background']['backgroundRepeat']
    8181                : null;
Note: See TracChangeset for help on using the changeset viewer.