Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

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

    r39901 r42343  
    2121     * @param int $saturation Color saturation level.
    2222     */
    23     $saturation = absint( apply_filters( 'twentyseventeen_custom_colors_saturation', 50 ) );
     23    $saturation         = absint( apply_filters( 'twentyseventeen_custom_colors_saturation', 50 ) );
    2424    $reduced_saturation = ( .8 * $saturation ) . '%';
    25     $saturation = $saturation . '%';
    26     $css = '
     25    $saturation         = $saturation . '%';
     26    $css                = '
    2727/**
    2828 * Twenty Seventeen: Color Patterns
Note: See TracChangeset for help on using the changeset viewer.