WordPress.org

Make WordPress Core

Ticket #49052: 49052.diff

File 49052.diff, 615 bytes (added by sabernhardt, 2 months ago)

same change as in the earlier patch, but in helper-functions.php

  • src/wp-content/themes/twentynineteen/inc/helper-functions.php

     
    9595        $b = $l;
    9696        $v = ( $l <= 0.5 ) ? ( $l * ( 1.0 + $s ) ) : ( $l + $s - $l * $s );
    9797        if ( $v > 0 ) {
    98                 $m;
    99                 $sv;
    100                 $sextant;
    101                 $fract;
    102                 $vsf;
    103                 $mid1;
    104                 $mid2;
     98                $m = $sv = $sextant = $fract = $vsf = $mid1 = $mid2 = "";
    10599
    106100                $m       = $l + $l - $v;
    107101                $sv      = ( $v - $m ) / $v;