[wp-trac] [WordPress Trac] #58761: Make the filter option_page_capability_options available when access options.php directly
WordPress Trac
noreply at wordpress.org
Sun Nov 30 15:14:27 UTC 2025
#58761: Make the filter option_page_capability_options available when access
options.php directly
--------------------------------+-----------------------------
Reporter: amibe | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"61325" 61325]:
{{{
#!CommitTicketReference repository="" revision="61325"
Options, Meta APIs: Avoid bypassing the `option_page_capability_options`
filter.
This ensures that the filter is available when `wp-admin/options.php` is
accessed directly.
Follow-up to [13627], [17986], [25372].
Props amibe.
Fixes #58761.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58761#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list