Hey everyone 👋
This release leans into security. We tightened up Modern Checkout, Site Builder, and Page Headers, and refreshed the bundled sanitizer library. On top of that, custom layouts got a lot more flexible, the Mega Menu is friendlier for screen readers, and a handful of WooCommerce and Customizer annoyances are gone.
Let’s get into it.
✨ What’s new
- One layout, placed on many hooks. Custom layouts built with the Hooks layout can now sit on several predefined and custom hooks at once.
- What that means for you:
- No more duplicating the same layout just to show it in two places.
- Build your content once, then point it wherever it needs to appear.
- Fewer layouts to manage as your site grows.
- Learn how it works (https://wpastra.com/docs/custom-layout-hooks/)
🔧 Better than before
- Sticky Logo Width now works with the Shrink effect. You can set exactly how small your logo gets when the header shrinks on scroll.
- The Mega Menu is easier to navigate. Submenu toggle arrows now announce their menu item to screen readers, and Disable Link mega menus open on click.
- Modern Checkout fields look cleaner. Fields are a touch taller, and the Country and State dropdowns line up and show their labels like every other field.
- Rollback is clearer when there’s nothing to roll back to. The dropdown stays visible but inactive, with a tooltip explaining why.
- Better YITH Pre-Order compatibility. Out-of-stock products offered as pre-orders now add to the cart with Slide In Cart, Redirect to Cart/Checkout, and Quick View.
🐛 Squashed
- Slide In Cart no longer freezes the page. Adding a product with the Single Product Slide In Cart action used to lock scrolling when the header Cart Click Action was set to Cart Page. Fixed.
- Grouped products with large IDs add to cart again. They were silently failing with AJAX actions like Slide In Cart. Gone.
- The sticky logo resizes smoothly. With the Shrink effect on, the logo now scales in step with the rest of the header instead of snapping.
- Live preview keeps up with font changes. Blog and archive post titles now update in the Customizer preview the moment you switch the Body or Headings font.
- Complex image URLs load fully. Page Header background images with more than one query parameter, like CDN or signed URLs, now keep all their parameters.
🔒 Security
- Comments and previous posts are locked down. Comments shown through Custom Layouts no longer run shortcodes, and Auto Load Previous Post only pulls pages from your own site. (Props to savphill / Patchstack.)
- Modern Checkout logins stay secure on HTTPS. Session cookies set when logging in from the Modern Checkout page are now marked secure.
- The checkout email check gives nothing away. It no longer hints at whether an account exists when Modern Checkout isn’t in use, or when checkout login and account creation are turned off.
- Custom layout shortcodes respect permissions. The shortcode only renders layouts a visitor is allowed to see, and code editor snippets can no longer be changed through custom fields.
- Page Headers are admin-only now. Only administrators can manage them, and their color, size, and image settings are validated before use. Your existing Page Headers keep working.
- Updated the bundled sanitizer library. DOMPurify moved to 3.4.17, picking up upstream fixes for several HTML sanitization bypasses (CVE-2026-0540).
We recommend updating as soon as you can.
As always, support is one click away if anything feels off.
Team Astra