[wp-trac] [WordPress Trac] #11922: Pages Hooked by add_menu_page() Have No Security

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 28 20:17:46 UTC 2010


#11922: Pages Hooked by add_menu_page() Have No Security
-----------------------------+----------------------------------------------
 Reporter:  miqrogroove      |        Owner:  westi 
     Type:  defect (bug)     |       Status:  closed
 Priority:  high             |    Milestone:  2.9.2 
Component:  Role/Capability  |      Version:        
 Severity:  critical         |   Resolution:  fixed 
 Keywords:  has-patch        |  
-----------------------------+----------------------------------------------

Comment(by westi):

 I'm going to put in the extra cap check just for safety sake and also port
 this to the 2.8 branch in case we do any updates to that.

 I'll also improve the phpdoc to make these functions clearer to use and
 publicise best practise.

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


More information about the wp-trac mailing list