Make WordPress Core

Ticket #52064: 52064.diff

File 52064.diff, 1.3 KB (added by mukesh27, 3 years ago)

Patch.

  • wp-content/themes/twentytwentyone/assets/sass/02-tools/functions.scss

    diff --git a/wp-content/themes/twentytwentyone/assets/sass/02-tools/functions.scss b/wp-content/themes/twentytwentyone/assets/sass/02-tools/functions.scss
    index ef7bb4efa9..402a6b8a9a 100644
    a b  
    4646        @return $map;
    4747}
    4848
    49 // ep set function to set a value in nested maps
    50 // uthor Hugo Giraudel
    51 // ccess public
    52 // aram {Map} $map - Map
    53 // aram {List} $keys -  Key chaine
    54 // aram {*} $value - Value to assign
    55 // eturn {Map}
     49// Mep set function to set a value in nested maps
     50// @author Hugo Giraudel
     51// @access public
     52// @param {Map} $map - Map
     53// @param {List} $keys -  Key chaine
     54// @param {*} $value - Value to assign
     55// @return {Map}
    5656//
    5757// ample:
    5858// _prefix-default-config: map-deep-set($__prefix-default-config, "layouts" "M", 650px);
     
    6363        // If the last key is a map already
    6464        // Warn the user we will be overriding it with $value
    6565        @if type-of(nth($keys, -1)) == "map" {
    66                 @warn "The last key you specified is a map; it will be overrided with `#{$value}`.";
     66                @warn "The last key you specified is a map; it will be overridden with `#{$value}`.";
    6767        }
    6868
    6969        // If $keys is a single key