WooCommerce 9.9.5 is here:
This version fixes unwanted block styles loading on all pages in classic themes. Styles now load only when needed.
What’s in this release
🛠️ Fix: Unwanted block styles loaded on all pages in classic themes #58993
Reported by dpitchford1, WooCommerce 9.9 introduced a regression where block-related CSS files were being loaded on all pages, even when no WooCommerce blocks were used and block support was explicitly disabled. This impacted both frontend performance and styling for developers using classic themes with finely tuned output control.
With this fix, WooCommerce’s style loading handler supports dynamically rendered interactive blocks that define styles in metadata. Styles will now only load if the relevant block is present on the page, even in classic themes.
Leave a Reply