[wp-trac] [WordPress Trac] #57925: Unclear message when URL for non-existing admin page is called
WordPress Trac
noreply at wordpress.org
Wed Mar 15 01:07:56 UTC 2023
#57925: Unclear message when URL for non-existing admin page is called
----------------------------+-----------------------------
Reporter: tobifjellner | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: ui |
----------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57925>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list