WordPress Updates Legacy Default Themes to Include Locally Bundled Google Fonts
WordPress contributors have updated the legacy default themes to bundle Google Fonts locally in the theme folder, instead of loading them from Google’s servers. In years past, loading fonts from the the Google CDN was the recommended practice for performance reasons, but new privacy concerns have emerged following a German court case, which fined a website owner for violating the GDPR by using Google-hosted webfonts,
All of the default themes from Twenty Twelve to Twenty Seventeen have been updated. The process began nine month ago but the approach took some time for contributors to refine. Updates to default themes are usually done in coordination with major and minor releases of WordPress, as core contributor Jonathan Desrosiers explained in the ticket.
“The reason the updates are usually coordinated is that the themes are usually updated to be compatible with new versions of WordPress, so releasing at the same time makes a lot of sense,” Desrosiers said. “Also, the number of contributors that focus on the tickets within the Bundled Themes component is usually very low unless these compatibility issues are being addressed.”
A dev note to accompany these updates to the legacy default themes was published to WordPress.org. It contains code examples for serving a new stylesheet from the theme directory, fixing the editor style within a custom theme-setup function, removing the font stylesheet, and including a custom set of fonts in a child theme. This change particularly impacts those who have edited or removed the font stylesheet in a child theme of these default themes or a plugin.
WordPress’ Themes Team has strongly urged theme authors to switch to locally hosted webfonts, and is expected to officially ban remotely hosted fonts following WordPress’ legacy default themes getting updated.
Request A Quote
More Posts
Which Social Media Platform Is Best For Small Businesses
With the rise of digital marketing, social media platforms have become a crucial part of a small business’s marketing strategy.
cPanel VS. Plesk – Which Is The Best Web Hosting Control Panel
cPanel and Plesk are two popular web hosting control panels that provide a graphical interface for managing web hosting accounts.
The Best SEO Strategies To Use In 2023
Search engine optimization (SEO) and SEO strategies has always been a rapidly evolving field, and 2023 will be no exception.
0 Comments