[wp-trac] [WordPress Trac] #53801: Block-based Widgets Screen does action wp_footer after each Widget

WordPress Trac noreply at wordpress.org
Wed Nov 3 08:05:05 UTC 2021


#53801: Block-based Widgets Screen does action wp_footer after each Widget
-----------------------------------------------+---------------------
 Reporter:  MadtownLems                        |       Owner:  (none)
     Type:  defect (bug)                       |      Status:  new
 Priority:  normal                             |   Milestone:  5.9
Component:  Widgets                            |     Version:  5.8
 Severity:  major                              |  Resolution:
 Keywords:  has-patch has-testing-info commit  |     Focuses:
-----------------------------------------------+---------------------
Changes (by andraganescu):

 * keywords:  has-patch needs-testing has-testing-info => has-patch has-
     testing-info commit
 * milestone:  Future Release => 5.9


Comment:

 Given the CSS in [https://github.com/WordPress/wordpress-develop/pull/1602
 GB1602] only affects the legacy widget preview iframe and that nobody was
 able to find any issues with it, I think this is good to go for 5.9 as a
 fix for the problem.

 While the rules look like a sledgehammer the fact they only apply to the
 iframes in the widgets editor makes them less impactful than introducing
 logic in how `wp_footer` and enqueueing work.

 The rules to hide any extra content are really overwhelming, but I guess
 that's what you have to do to cover all possibilities.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53801#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list