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

WordPress Trac noreply at wordpress.org
Thu Jul 29 12:49:27 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.1
Component:  Widgets       |     Version:  5.8
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------
Changes (by mukesh27):

 * keywords:   => needs-patch


Comment:

 Yes. It's a bug for the admin widget page.

 I quickly check the issue and found that `wp_footer` called in the
 https://github.com/WordPress/WordPress/blob/master/wp-includes/blocks
 /legacy-widget.php#L123 file so it was loading all footer action in the
 WordPress Widgets screen.

 If we remove/comment `wp_footer` from that location it will fix the issue.
 Let's wait for the Gutenberg team's feedback on this.

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


More information about the wp-trac mailing list