WordPress.org Strongly Urges Theme Authors to Switch to Locally Hosted Webfonts

WordPress 6.4 Font Library Feature Punted to 6.5 Release

Posted by WP Tavern on October 5, 2023 at 8:32 pm
kitty kitty CATegory News
The WordPress 6.4 release squad has decided to punt the planned Font Library feature to 6.5 after core maintainers found major gaps in the Font APIs that cannot be resolved in time for the upcoming release. “I am currently reviewing the font APIs PR,” WordPress REST API co-maintainer Jonny Harris said. “I must say, I am very worried about the PR in its current state. The code simply doesn’t follow the WP core code style and doesn’t feel WordPress.” He listed a number of problems he found with the feature: Limited developer API. We need functions like wp_insert_font / wp_create_font etc. Lack of filter or actions No way to unregister font collections Capabilities. Creating new fonts should have capabilies and not simply map to edit_theme_options Confusing API structure.  Collection should have embedded font objects What happens to fonts when collections are unregistered? If fonts are stored as post object, can I query to get all fonts from a collection? Are fonts deleted when the user is deleted? No way to filter where a font is stored “With time very limited in this release, it feels like actioning the above, feel like it is going too hard to achieve in this release,” Harris said. “I think this…

…Full post on WP Tavern
Read Full

Similar Posts

Leave a Reply