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

WordPress Trac noreply at wordpress.org
Mon Aug 26 20:00:57 UTC 2024


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

 * focuses:  performance =>


Comment:

 @peterwilsoncc I left some feedback on your draft PR
 https://github.com/WordPress/wordpress-develop/pull/7133.

 While the ideal solution is possibly along the lines of what you're
 saying, I don't think this is realistic to implement given all the BC
 breakage side effects it would have (IMO even more severe than the
 problems we found in #22192).

 I would prefer if we narrowed the solution to this ticket to address the
 more specific problem with `null` values and `wp_load_alloptions()` -
 which doesn't address the underlying problem, but I think is a more
 reasonable way to fix what this ticket is about.

 Aside, I'll remove the `performance` focus, since this ticket is not about
 performance, but about a general bug in Core.

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


More information about the wp-trac mailing list