[wp-trac] [WordPress Trac] #6023: Widgets registering multpile instances don't display in available widgets list.

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


#6023: Widgets registering multpile instances don't display in available widgets
list.
----------------------------+-----------------------
 Reporter:  mdawaffe        |       Owner:  mdawaffe
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  2.5
Component:  Administration  |     Version:  2.5
 Severity:  major           |  Resolution:  fixed
 Keywords:                  |
----------------------------+-----------------------

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/6023#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list