[wp-trac] Re: [WordPress Trac] #10310: add_menu_page Security Bug

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 1 13:49:42 UTC 2009


#10310: add_menu_page Security Bug
----------------------------------+-----------------------------------------
 Reporter:  shazahm1@…            |        Owner:  ryan  
     Type:  defect (bug)          |       Status:  closed
 Priority:  normal                |    Milestone:  2.8.1 
Component:  Menus                 |      Version:  2.8   
 Severity:  major                 |   Resolution:  fixed 
 Keywords:                        |  
----------------------------------+-----------------------------------------

Comment(by shazahm1@…):

 Understood... I'm off to Google to see how this is done properly. None of
 the tutorials have come across so far mentioned needing an additional
 check. I know I should use current_user_can and wp_die. I'm just not
 exactly sure where the right place to use.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10310#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list