[wp-trac] [WordPress Trac] #8441: New Widget API based on MultiWidget Class

WordPress Trac noreply at wordpress.org
Sat Jan 10 18:28:36 UTC 2026


#8441: New Widget API based on MultiWidget Class
------------------------------------------+---------------------
 Reporter:  thornomad                     |       Owner:  azaozz
     Type:  task (blessed)                |      Status:  closed
 Priority:  normal                        |   Milestone:  2.8
Component:  Widgets                       |     Version:  2.8
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  widget, plugin, multi-widget  |
------------------------------------------+---------------------

Comment (by westonruter):

 In [changeset:"61466" 61466]:
 {{{
 #!CommitTicketReference repository="" revision="61466"
 Widgets: Ensure a widget is registered prior to checking its ID in
 `is_active_widget()`.

 This avoids a possible PHP warning due to an undefined array key.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10710

 Follow-up to [11090], [7080].

 Props sageth, josephscott, Ipstenu, mindctrl, westonruter.
 See #8441, #6023.
 Fixes #57518.
 }}}

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


More information about the wp-trac mailing list