[wp-trac] [WordPress Trac] #48393: Fix from #38903 prevents options autoload parameter update

WordPress Trac noreply at wordpress.org
Mon Feb 8 14:42:27 UTC 2021


#48393: Fix from #38903 prevents options autoload parameter update
-------------------------------------+-----------------------------
 Reporter:  aboltro                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  5.8
Component:  Options, Meta APIs       |     Version:
 Severity:  major                    |  Resolution:
 Keywords:  2nd-opinion needs-patch  |     Focuses:  administration
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  close 2nd-opinion => 2nd-opinion needs-patch
 * owner:  (none) => SergeyBiryukov
 * status:  new => accepted
 * milestone:  Awaiting Review => 5.8


Comment:

 Replying to [comment:2 herregroen]:
 > I think changing `update_option` so that `autoload` is updated even if
 the value is unchanged would be by far the most intuitive and elegant way
 of doing things. Of course if neither the value nor the `autoload`
 property have been changed then nothing should happen.

 I tend to agree.

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


More information about the wp-trac mailing list