v0.7.1
Pre-release
Pre-release
Enhancements:
- Added inline
min-height,background-colorto UCF Header placeholder elem to reduce layout shift on load. - Added Customizer option for specifying additional domains that should be
dns-prefetch'ed. - Made some small adjustments in
ucfwp_enqueue_frontend_assets()to ensure webfonts are enqueued as dependencies for the main theme stylesheet. - Bumped jQuery to latest 3.x release.
- Added preloading of Cloud.Typography CSS key or fallback Athena sans-serif font files, and Font Awesome font files (if enabled). Preloaded Athena fonts and Font Awesome fonts can be modified with the
ucfwp_preload_athena_fallback_fontsanducfwp_preload_font_awesome_fontsfilter hooks, respectively. - Cleaned up some old
update_option()calls to useoption_${option_name}filter hooks instead. - Updated how Font Awesome 5 fonts are stored in the theme--now, to ensure older versions of FA5 font files are cache-busted with new releases, the font files in
static/fonts/are prefixed with a specific version number (e.g.static/fonts/font-awesome-5/5.15.2/.... - Added PHP functions that retrieve the path to Font Awesome 5 font files (and for other packages) for the sake of preloading. (
ucfwp_get_theme_packages(),ucfwp_get_theme_package_version(),ucfwp_get_font_awesome_5_font_url()) - Upgraded packages, including Font Awesome 5.
Other:
- Removed unused
wp-a11yenqueue.