Make WordPress Core


Ignore:
Timestamp:
12/14/2018 03:24:35 AM (6 years ago)
Author:
pento
Message:

General: Fix some code formatting issues.

A handful of code formatting issues were introduced in recent commits, runs the auto-fixer on them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/inc/color-patterns.php

    r44149 r44155  
    2727     */
    2828
    29     $saturation           = absint( apply_filters( 'twentynineteen_custom_colors_saturation', 100 ) );
    30     $saturation           = $saturation . '%';
     29    $saturation = absint( apply_filters( 'twentynineteen_custom_colors_saturation', 100 ) );
     30    $saturation = $saturation . '%';
    3131
    3232    $saturation_selection = absint( apply_filters( 'twentynineteen_custom_colors_saturation_selection', 50 ) );
    3333    $saturation_selection = $saturation_selection . '%';
    3434
    35     $lightness            = absint( apply_filters( 'twentynineteen_custom_colors_lightness', 33 ) );
    36     $lightness            = $lightness . '%';
    37 
    38     $lightness_hover      = absint( apply_filters( 'twentynineteen_custom_colors_lightness_hover', 23 ) );
    39     $lightness_hover      = $lightness_hover . '%';
    40 
    41     $lightness_selection  = absint( apply_filters( 'twentynineteen_custom_colors_lightness_selection', 90 ) );
    42     $lightness_selection  = $lightness_selection . '%';
     35    $lightness = absint( apply_filters( 'twentynineteen_custom_colors_lightness', 33 ) );
     36    $lightness = $lightness . '%';
     37
     38    $lightness_hover = absint( apply_filters( 'twentynineteen_custom_colors_lightness_hover', 23 ) );
     39    $lightness_hover = $lightness_hover . '%';
     40
     41    $lightness_selection = absint( apply_filters( 'twentynineteen_custom_colors_lightness_selection', 90 ) );
     42    $lightness_selection = $lightness_selection . '%';
    4343
    4444    $theme_css = '
     
    234234        }
    235235        ';
    236     $css = '';
     236    $css        = '';
    237237    if ( function_exists( 'register_block_type' ) && is_admin() ) {
    238238        $css .= $editor_css;
    239     } else if ( ! is_admin() ) {
     239    } elseif ( ! is_admin() ) {
    240240        $css = $theme_css;
    241241    }
Note: See TracChangeset for help on using the changeset viewer.