Repository navigation
Conversation
Bump the default `google-fonts` collection URL from the `wp-7.1` to the `wp-7.2` versioned path on s.w.org, and update the matching preview URL fixtures in the Font Library REST controller tests. The regenerated 7.2 collection is published at https://s.w.org/images/fonts/wp-7.2/ (WordPress/google-fonts-to-wordpress-collection#58). See #66250.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
Developed in: #14130 Props mikachan, mukesh27, paulkevan, peterwilsoncc, wildworks. Fixes #66250. git-svn-id: https://develop.svn.wordpress.org/trunk@64257 602fd350-edb4-49c9-b593-d223f7449a82
Developed in: WordPress/wordpress-develop#14130 Props mikachan, mukesh27, paulkevan, peterwilsoncc, wildworks. Fixes #66250. Built from https://develop.svn.wordpress.org/trunk@64257 git-svn-id: http://core.svn.wordpress.org/trunk@63408 1a063a9b-81f0-0310-95a4-ce76da25c4cd


Updates the default Google Fonts collection endpoint to the WordPress 7.2 versioned path on
s.w.org, refreshing the bundled font collection for the 7.2 release.This bumps the hard-coded
wp-7.1font URL path towp-7.2in the defaultgoogle-fontscollection registration, and updates the matching preview-URL fixtures in the Font Library REST controller tests. It mirrors the change made for the 7.1 release in #12343 and for 7.0 in #64564.src/wp-includes/fonts.php—font_familiesJSON URL for thegoogle-fontscollection.tests/phpunit/tests/fonts/font-library/wpRestFontFamiliesController.php— preview URL fixtures.tests/phpunit/tests/fonts/font-library/wpRestFontFacesController.php— preview URL fixture.The regenerated 7.2 collection was merged in WordPress/google-fonts-to-wordpress-collection#58 (1949 → 1959 font families) and is already published at
https://s.w.org/images/fonts/wp-7.2/, so the new URL resolves today.Trac ticket: https://core.trac.wordpress.org/ticket/66250
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Fable 5.1
Used for: Locating the endpoint and test references, applying the version bump following the precedent set by #12343, and running the Font Library REST tests locally. All changes were reviewed and verified by me.
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.
🤖 Generated with Claude Code