Make WordPress Core

Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#55279 closed defect (bug) (invalid)

5.9.1 introduced bug of numerious <style>. wp-container-xxxxx etc</style> in html

Reported by: carasmo's profile carasmo Owned by:
Milestone: Priority: normal
Severity: major Version: 5.9.1
Component: General Keywords:
Focuses: Cc:


In 5.9.0 this does not happen, however in 5.9.1 a bazillion <style>. wp-container-xxxxx ...</style> in the html. With each refresh more are added. Logged in or not logged in. With zero plugins.

Attachments (1)

Screen Shot 2022-02-28 at 11.17.39 PM.png (656.8 KB) - added by carasmo 19 months ago.

Download all attachments as: .zip

Change History (5)

#1 @carasmo
19 months ago

  • Resolution set to invalid
  • Status changed from new to closed

#2 @carasmo
19 months ago

It's Genesis framework. I have just checked with the 2022 theme and this bug is not there but as soon as I change the active theme to the Genesis parent theme, it's there.

#3 @carasmo
19 months ago

Hopefully WPEngine/StudioPress will correct this. In my child theme functions I've added the following to correct this:

//Fixes 5.9.1 bug in Genesis
remove_filter( 'render_block', 'wp_render_layout_support_flag', 10, 2 );

This doesn't affect my site at all.

Last edited 19 months ago by carasmo (previous) (diff)

#4 @SergeyBiryukov
19 months ago

  • Milestone Awaiting Review deleted

Hi there, welcome back to WordPress Trac!

Thanks for the follow-up! Glad you were able to identify and resolve the issue.

Note: See TracTickets for help on using tickets.