Skip to content

Commit

Permalink
Rename and deprecate WP_Web_Fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
hellofromtonya committed Jan 17, 2023
1 parent 4df02bf commit 52ef0d6
Show file tree
Hide file tree
Showing 28 changed files with 1,084 additions and 381 deletions.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.2/script-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function gutenberg_resolve_assets_override() {
* Generate font @font-face styles for the site editor iframe.
* Use the registered font families for printing.
*/
if ( class_exists( 'WP_Web_Fonts' ) ) {
if ( class_exists( 'WP_Fonts' ) ) {
$wp_fonts = wp_fonts();
$registered = $wp_fonts->get_registered_font_families();
if ( ! empty( $registered ) ) {
Expand Down
Loading

0 comments on commit 52ef0d6

Please sign in to comment.