[wp-trac] [WordPress Trac] #18662: Misleading error message for non-existent plugin settings page

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 14 16:22:05 UTC 2011


#18662: Misleading error message for non-existent plugin settings page
-------------------------+-----------------------------------
 Reporter:  Latz         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Plugins      |    Version:  3.3
 Severity:  normal       |   Keywords:  has-patch 2nd-opinion
-------------------------+-----------------------------------
 If you call a plugin settings page that does not exist
 (e.g. http://.../wp-admin/options-general.php?page=not-here) WordPress
 dies with the error message "You do not have sufficient permissions to
 access this page." though the user would have the permissions if the page
 would exist.

 Quite confusing. Happened to me as an author changed the $menu_slug in an
 update and I tried to load the option page via my browser's bookmark. Took
 me some time to figure out what the problem was.

 The error message should be "Plugin setting page does not exist."

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18662>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list