[wp-trac] [WordPress Trac] #37930: Introduce a general `pre_option` filter in `get_option()`
WordPress Trac
noreply at wordpress.org
Tue Sep 13 20:19:31 UTC 2022
#37930: Introduce a general `pre_option` filter in `get_option()`
---------------------------------------------+---------------------------
Reporter: flixos90 | Owner: spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+---------------------------
Comment (by SergeyBiryukov):
In [changeset:"54147" 54147]:
{{{
#!CommitTicketReference repository="" revision="54147"
Tests: Rename the test for `pre_option` filter to match the filter name.
Move the method to a more appropriate place, next to the test for
`default_option_*` filter.
Follow-up to [54145].
See #37930.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37930#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list