[wp-trac] Re: [WordPress Trac] #2696: add_menu_page doesn't respect
"access level".
WordPress Trac
wp-trac at lists.automattic.com
Thu May 11 02:23:15 GMT 2006
#2696: add_menu_page doesn't respect "access level".
----------------------------+-----------------------------------------------
Id: 2696 | Status: reopened
Component: Administration | Modified: Thu May 11 02:23:15 2006
Severity: normal | Milestone:
Priority: normal | Version: 2.1
Owner: westi | Reporter: denney
----------------------------+-----------------------------------------------
Comment (by ryanscheuermann):
The attached plugin demonstrates what happens when you add a plugin page
(based on a "named" page w/ function call) to the Manage submenu and then
remove the 'edit_posts' permission from administrator.
The plugin also contains the hacks I found to make it work. Maybe this is
the intended way to implement something like this, I don't know, but I
couldn't find documentation anywhere.
--
Ticket URL: <http://trac.wordpress.org/ticket/2696>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list