Skip to content

Commit

Permalink
Update google fonts collection url to release version
Browse files Browse the repository at this point in the history
Still using the Github url until s.w.org is updated.
  • Loading branch information
creativecoder committed Feb 2, 2024
1 parent 6f0b823 commit 4cc23a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.5/fonts/fonts.php
Expand Up @@ -130,7 +130,7 @@ function wp_unregister_font_collection( $collection_id ) {

function gutenberg_register_font_collections() {
// TODO: update to production font collection URL.
wp_register_font_collection( 'google-fonts', 'https://raw.githubusercontent.com/WordPress/google-fonts-to-wordpress-collection/01aa57731575bd13f9db8d86ab80a2d74e28a1ac/releases/gutenberg-17.6/collections/google-fonts-with-preview.json' );
wp_register_font_collection( 'google-fonts', 'https://raw.githubusercontent.com/WordPress/google-fonts-to-wordpress-collection/main/releases/gutenberg-17.7/collections/google-fonts-with-preview.json' );
}
add_action( 'init', 'gutenberg_register_font_collections' );

Expand Down

0 comments on commit 4cc23a5

Please sign in to comment.