Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years 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:

Description

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 3 years ago.

Download all attachments as: .zip

Change History (5)

#1 @carasmo
3 years ago

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

#2 @carasmo
3 years 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
3 years 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 3 years ago by carasmo (previous) (diff)

#4 @SergeyBiryukov
3 years 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.