[wp-trac] [WordPress Trac] #37930: Introduce a general `pre_option` filter in `get_option()`
WordPress Trac
noreply at wordpress.org
Sun Oct 19 19:45:38 UTC 2025
#37930: Introduce a general `pre_option` filter in `get_option()`
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner:
| davidbaumwald
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:
needs-dev-note |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
In [changeset:"60978" 60978]:
{{{
#!CommitTicketReference repository="" revision="60978"
Docs: Correct DocBlock formatting for `pre_site_option` filter.
Includes bringing some consistency with the `pre_option` filter DocBlock.
.
Follow-up to [54145], [54948], [60959].
Props mukesh27, SergeyBiryukov.
See #37930, #63166.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37930#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list