mirrored from git://develop.git.wordpress.org/
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improves readability, usability, and performance.
Readability improvements: - Renamed `get_registry()` to `get_all_registered()` - Added and refined comments - Moved the organizational logic in Google Fonts Provider to private method - Moved the store in "query by" containers to a private method Performance: - Changed `get_by_font_family()` query to use the same registered key strategy as the `get_by_provider()`. Both are now a O(1) lookup. Usability: - Allows a custom provider to set `<link>` attributes for a single `<link>` (vs a strict array of arrays)
- Loading branch information
1 parent
0b3179a
commit c99f96f
Showing
10 changed files
with
337 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.