Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 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 2 years ago.

Download all attachments as: .zip

Change History (5)

#1 @carasmo
2 years ago

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

#2 @carasmo
2 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
2 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 );

Version 0, edited 2 years ago by carasmo (next)

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