[wp-trac] [WordPress Trac] #22192: update_option() strict checks can cause false negatives
WordPress Trac
noreply at wordpress.org
Thu Sep 21 15:21:59 UTC 2023
#22192: update_option() strict checks can cause false negatives
-------------------------------------------------+-------------------------
Reporter: nacin | Owner: mukesh27
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.4
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion dev-feedback | Focuses:
has-unit-tests | performance
-------------------------------------------------+-------------------------
Comment (by flixos90):
In [changeset:"56648" 56648]:
{{{
#!CommitTicketReference repository="" revision="56648"
Options, Meta APIs: Add further test coverage for comparison between old
and new option value.
This ensures potential future changes to the logic are covered by existing
tests that should pass before and after.
Props joemcgill.
See #22192.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22192#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list