@@ -80,9 +80,9 @@ |
||
80 | 80 | $fonts_to_load = array(); |
81 | 81 | foreach ( $this->googlefonts->fonts as $font => $weights ) { |
82 | 82 | foreach ( $weights as $key => $value ) { |
83 | - $weights[ $key ] = str_replace( array( 'regular', 'bold', 'italic' ), array( '400', '', 'i' ), $value ); |
|
83 | + $weights[$key] = str_replace( array( 'regular', 'bold', 'italic' ), array( '400', '', 'i' ), $value ); |
|
84 | 84 | if ( 'i' === $value ) { |
85 | - $weights[ $key ] = '400i'; |
|
85 | + $weights[$key] = '400i'; |
|
86 | 86 | } |
87 | 87 | } |
88 | 88 | $fonts_to_load[] = $font . ':' . join( ',', $weights ); |