Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#42941 new enhancement

Improve options.php error "options page not found"

Reported by: tdlewis77 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.1
Component: Plugins Keywords: has-patch needs-testing
Focuses: Cc:
PR Number:


The message generated by options.php when the options page is not in the whitelist is "Error: options page not found". This message is so generic that it provides the plug-in developer with no clue as to what needs to be addressed. A more useful message would be "Error: options page X not found in whitelist."

Attachments (1)

42941.patch (567 bytes) - added by tdlewis77 2 years ago.

Download all attachments as: .zip

Change History (3)

This ticket was mentioned in Slack in #core by tdlewis77. View the logs.

2 years ago

2 years ago

#2 @williampatton
2 years ago

  • Keywords has-patch needs-testing added
  • Type changed from defect (bug) to enhancement

This seems like a welcome change to me. It's only a small modification that adds some useful information for people who stumble across this error while developing their options pages.

Changed from defect to enhancement.

Note: See TracTickets for help on using tickets.