Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#48393 new defect (bug)

Fix from #38903 prevents options autoload parameter update

Reported by: aboltro Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version:
Component: Options, Meta APIs Keywords: close 2nd-opinion
Focuses: administration Cc:


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.

Change History (1)

#1 @desrosj
10 months ago

  • Keywords close 2nd-opinion added

Thanks for this ticket, @aboltro. And welcome to Trac!

This looks to be an intentional decision. #26394, and more specifically 26394#comment:13/[26394] shed more light. This behavior is also explicitly documented in the inline documentation.

I am going to recommend this be closed as a wontfix. But also marking for a second opinion.

Note: See TracTickets for help on using tickets.