Skip to content

Commit

Permalink
release: version 2.0.7
Browse files Browse the repository at this point in the history
- Fix Google Fonts not loading in certain cases
  • Loading branch information
HardeepAsrani authored Jul 4, 2022
2 parents fd8ad61 + 114b8a6 commit baffd95
Show file tree
Hide file tree
Showing 4 changed files with 1,466 additions and 256 deletions.
3 changes: 3 additions & 0 deletions inc/css/class-block-frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ public function get_fonts( $fonts_list = array() ) {
$font['fontvariant'][ $key ] = 400;
}
}

sort( $font['fontvariant'] );

$item .= ':wght@' . implode( ';', $font['fontvariant'] );
}
array_push( $fonts, $item );
Expand Down
Loading

0 comments on commit baffd95

Please sign in to comment.