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

WordPress Trac noreply at wordpress.org
Tue Oct 22 07:46:00 UTC 2019


#48393: Fix from #38903 prevents options autoload parameter update
--------------------------------+-----------------------------
 Reporter:  aboltro             |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:
 Severity:  major               |   Keywords:
  Focuses:  administration      |
--------------------------------+-----------------------------
 This is a follow-up to #38903.

 3 years ago fix for not * If the new and old values are the same, no need
 to update. * But this condition does not check if method call intention
 was to update autoload field of the option.

 Currently the issue can be resolved by force update options when
 update_option method is called with autoload != null and check * If the
 new and old values are the same, no need to update. * should be skipped.

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


More information about the wp-trac mailing list