Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kingma-sbw authored Jan 16, 2025
1 parent 40d5996 commit 3a5803f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/02-Themes/fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The font library exposes available font collections in the UI. By default WordPr
You can [learn more about registering custom font collections in the core documentation](https://make.wordpress.org/core/2024/03/14/new-feature-font-library/#adding-a-font-collection).
:::caution
On most client builds we don't actually want to rely on administrators adding random custom fonts. Because doing so can have very string negative side effects on both the visual appearance of a site but even more importantly the performance of a site. Therefore the best practice is to already define the correct fonts in the themes `theme.json` file and even disable the font library UI via this filter:
On most client builds we don't actually want to rely on administrators adding random custom fonts. Because doing so can have very strong negative side effects on both the visual appearance of a site but even more importantly the performance of a site. Therefore the best practice is to already define the correct fonts in the themes `theme.json` file and even disable the font library UI via this filter:
```php
function disable_font_library_ui( $editor_settings ) {
Expand Down

0 comments on commit 3a5803f

Please sign in to comment.