Make WordPress Core

Opened 13 months ago

Last modified 13 months ago

#57925 new enhancement

Unclear message when URL for non-existing admin page is called

Reported by: tobifjellner's profile tobifjellner Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6
Component: Administration Keywords: needs-copy-review
Focuses: ui Cc:

Description

If you try to visit the admin page of a plugin that is currently inactive, then currently (WordPress 6.2) the error message given is:

Sorry, you are not allowed to access this page.

Even though in this case there may not even be such a page defined.
I got this message when I followed a link to the settings page of a plugin that had automatically disabled itself.
A user misunderstood this message in https://wordpress.org/support/topic/after-plugin-disabled-sorry-you-are-not-allowed-to-access-this-page/
One may reach this message if following an outdated bookmark to a plugin's admin page.

If possible, this particular case "There is currently no such admin page defined in this system." would be a better, and more actionable message.

Change History (2)

#1 @costdev
13 months ago

  • Version set to 4.6

Hi @tobifjellner, thanks for opening this ticket.

Messaging was unified as part of #34521. Setting the Version property to 4.6.

#2 @costdev
13 months ago

  • Keywords needs-copy-review added
Note: See TracTickets for help on using tickets.