[wp-trac] [WordPress Trac] #51352: Unexpected behavior when switching autoload between update_option
WordPress Trac
noreply at wordpress.org
Tue May 23 22:23:53 UTC 2023
#51352: Unexpected behavior when switching autoload between update_option
--------------------------------------+------------------------------
Reporter: pentatonicfunk | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: trunk
Severity: major | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by kkmuffme):
* version: => trunk
* severity: normal => major
Comment:
Just to get this rolling again, since many related issues have actually
already been fixed.
The issue above is in 2) only (which is what the existing PR fixes): the
issue is basically that "autoload" value is not updated in cache, which
then causes non-autoloaded options to be incorrectly cached and vice
versa.
However the PR has some performance issues, so I created a new PR on trunk
on the latest version.
The PR fixes the current issue + probably
https://core.trac.wordpress.org/ticket/51372 (this was 99% fixed already
though in the current WP version) + probably
https://core.trac.wordpress.org/ticket/38931
This really is a major issue that should get merged with WP 6.3. Could you
@SergeyBiryukov be so kind and let me know what is needed for my PR to get
merged?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51352#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list