WordPress.org

Make WordPress Core

Ticket #49052: twentynineteen_theme_code_standard.diff

File twentynineteen_theme_code_standard.diff, 618 bytes (added by ankitmaru, 2 months ago)
  • src/wp-content/themes/twentynineteen/inc/template-functions.php

     
    354354        $b = $l;
    355355        $v = ( $l <= 0.5 ) ? ( $l * ( 1.0 + $s ) ) : ( $l + $s - $l * $s );
    356356        if ( $v > 0 ) {
    357                 $m;
    358                 $sv;
    359                 $sextant;
    360                 $fract;
    361                 $vsf;
    362                 $mid1;
    363                 $mid2;
     357                $m = $sv = $sextant = $fract = $vsf = $mid1 = $mid2 = '';
    364358
    365359                $m       = $l + $l - $v;
    366360                $sv      = ( $v - $m ) / $v;