[wp-trac] Re: [WordPress Trac] #2696: add_menu_page doesn't respect "access level".

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 26 18:20:45 GMT 2006


#2696: add_menu_page doesn't respect "access level".
----------------------------+-----------------------------------------------
       Id:  2696            |      Status:  assigned                
Component:  Administration  |    Modified:  Wed Apr 26 18:20:45 2006
 Severity:  normal          |   Milestone:                          
 Priority:  normal          |     Version:  2.1                     
    Owner:  westi           |    Reporter:  denney                  
----------------------------+-----------------------------------------------
Changes (by westi):

  * status:  new => assigned
  * owner:  anonymous => westi

Comment:

 Ok sorry you are correct the right place to build admin menus is on the
 admin_menu hook.

 However I can't reproduce your bug.

 I am uploading my menu testing plugin and the menus I have set to have
 level_10 capability or a userlevel of 10 are only viewable by the admin
 user.

 What version of WP are you testing - I have tested with 2.0.2 and trunk

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


More information about the wp-trac mailing list