[wp-trac] [WordPress Trac] #21989: update_option() calls sanitize_option() twice when option does not exist
WordPress Trac
noreply at wordpress.org
Thu Nov 6 07:22:55 UTC 2025
#21989: update_option() calls sanitize_option() twice when option does not exist
-------------------------------------------------+-------------------------
Reporter: MikeSchinkel | Owner: pbearne
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future
| Release
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch needs- | Focuses:
testing | performance
-------------------------------------------------+-------------------------
Comment (by lev0):
Perhaps @SergeyBiryukov or another core committer could take a look at
this? It's been another 1½ years, and has a working patch, which I just
rebased on `trunk` with all checks passing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21989#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list