-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Font Library: address feedback from wordpress-develop#6027 (#58691)
* Removes unneeded comment in wp_get_font_dir * Move font collection slug check to immediately after slug is assigned * Fix translators comment indentation * Remove unneeded colon from error message * Use is_collection_registered in get_font_collection * Removes extra line in WP_Font_Library::$collections docblock * Use variable for font_dir so function isn't called repeatedly within loop * Adds empty line before the return of WP_Font_Collection::get_data * Uses static closure in font collection sanitization schema Co-authored-by: creativecoder <[email protected]> Co-authored-by: hellofromtonya <[email protected]>
- Loading branch information
1 parent
4cb9fd7
commit fd98f90
Showing
3 changed files
with
14 additions
and
15 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
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