[wp-trac] [WordPress Trac] #32848: Null values for Update Options does not reset in $all_options

WordPress Trac noreply at wordpress.org
Wed Jul 1 17:45:40 UTC 2015


#32848: Null values for Update Options does not reset in $all_options
----------------------------------------+------------------------------
 Reporter:  MikeNGarrett                |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Cache API                   |     Version:  4.2.2
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  performance
----------------------------------------+------------------------------
Changes (by MikeNGarrett):

 * keywords:   => has-patch needs-unit-tests


Comment:

 I ran back through and realized there were quite a few places here that
 are using isset for assessing array keys existence. Here's a patch to
 switch all `isset` to `array_key_exists`. Next step, let's create some
 unit tests.

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


More information about the wp-trac mailing list