Make WordPress Core


Ignore:
Timestamp:
11/18/2013 11:11:01 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php

    r26227 r26260  
    9898    foreach ( $rgb as $value ) {
    9999        $value += $steps;
    100         if ( $value > 255 )
     100        if ( $value > 255 ) {
    101101            $value = 255;
    102         elseif ( $value < 0 )
     102        } elseif ( $value < 0 ) {
    103103            $value = 0;
     104        }
    104105        $hex .= str_pad( dechex( $value ), 2, '0', STR_PAD_LEFT);
    105106    }
     
    155156
    156157    // Don't do anything if the current color is the default.
    157     if ( '#24890d' === $accent_color )
     158    if ( '#24890d' === $accent_color ) {
    158159        return;
     160    }
    159161
    160162    $accent_mid   = get_theme_mod( 'accent_mid'   );
Note: See TracChangeset for help on using the changeset viewer.