[wp-trac] [WordPress Trac] #33442: Widgets not displayed if no $instance data is set

WordPress Trac noreply at wordpress.org
Fri Aug 21 18:08:56 UTC 2015


#33442: Widgets not displayed if no $instance data is set
------------------------------+--------------------------
 Reporter:  johnnyb           |       Owner:  westonruter
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.3.1
Component:  Widgets           |     Version:  4.3
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

 * owner:   => westonruter
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33696"]:
 {{{
 #!CommitTicketReference repository="" revision="33696"
 Widgets: Switch back to using `array_key_exists()` instead of `isset()`
 for widget instance existence check.

 Reverts unnecessary change in [32602] since `array_key_exists()` does
 actually work with `ArrayIterator` objects.

 See #32474.
 Fixes #33442.
 }}}

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


More information about the wp-trac mailing list