[wp-trac] [WordPress Trac] #51352: Unexpected behavior when switching autoload between update_option

WordPress Trac noreply at wordpress.org
Wed Oct 4 19:46:32 UTC 2023


#51352: Unexpected behavior when switching autoload between update_option
-------------------------------------------------+-------------------------
 Reporter:  pentatonicfunk                       |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.4
Component:  Options, Meta APIs                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback needs-refresh needs-testing           |
-------------------------------------------------+-------------------------

Comment (by flixos90):

 Regardless of whether we want to keep the functionality of updating the
 `autoload` value of an option during an update (related is #48393, which
 is another problem with doing that), what is described in this ticket is
 clearly a bug.

 I just left a review on https://github.com/WordPress/wordpress-
 develop/pull/4494, the approach looks solid to me and as @joemcgill said
 the only thing missing there are tests.

 If we can get this completed in time, I'd be happy to commit before 6.4
 Beta 3.

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


More information about the wp-trac mailing list