Skip to content

Update options.php#1

Open
AmibeWebsites wants to merge 1 commit intomasterfrom
AmibeWebsites-patch-1
Open

Update options.php#1
AmibeWebsites wants to merge 1 commit intomasterfrom
AmibeWebsites-patch-1

Conversation

@AmibeWebsites
Copy link
Copy Markdown
Owner

Ensure $option_page defaults to 'options' if not set, to avoid bypassing the capability filter when wp-admin/options.php is accessed directly.

Trac ticket: https://core.trac.wordpress.org/ticket/58761


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

Ensure $option_page defaults to 'options' if not set to avoid bypassing the capability filter when wp-admin/options.php is accessed directly.

https://core.trac.wordpress.org/ticket/58761
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant