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

WordPress Trac noreply at wordpress.org
Tue Sep 28 00:38:23 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.8.2
Component:  Widgets                  |     Version:  5.8
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by costdev):

 @EkoJr Option 2 raises several concerns for me.
 1. Performance impact. The CSS solution doesn't have this - the `*`
 selector, while general by intent, has negligible performance impact,
 especially with the various `:not()` modifiers.
 2. Option 2 is a breaking change which requires updates by both extenders
 and website administrators. Without automatic plugin updates enabled, and
 with third party premium plugins often only being purchased for a single
 annual licence thereby removing the possibility to update the plugin, any
 website using plugins that require these updates will break if automatic
 Core updates are enabled.
 3. While the CSS solution isn't a 100% guarantee, we've been unable to
 locate a real-world example where the CSS solution fails or causes
 breaking changes.

 For the reasons above, I believe that
 [https://core.trac.wordpress.org/attachment/ticket/53801/53801_css03.diff
 the latest patch] is our best course of action to resolve this ticket's
 issue while preventing breaks.

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


More information about the wp-trac mailing list