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

WordPress Trac noreply at wordpress.org
Thu Aug 20 23:41:18 UTC 2015


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

 * keywords:   => has-patch


Comment:

 OK, [attachment:33442.diff] reverts the r32602 change from using
 `array_key_exists()` to using `isset()`, which turns out to not be
 necessary (although I still think that plugins should be told they're
 `doing_it_wrong` if their `update()` methods return `null`, or anything
 other than `false`/`array`/`ArrayIterator`).

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


More information about the wp-trac mailing list