[wp-trac] [WordPress Trac] #11935: Only show "Add New" button on plugins.php if the user has the install_plugins capability

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 17 23:20:02 UTC 2010


#11935: Only show "Add New" button on plugins.php if the user has the
install_plugins capability
----------------------------+-----------------------------------------------
 Reporter:  jamescollins    |       Owner:                  
     Type:  defect (bug)    |      Status:  new             
 Priority:  normal          |   Milestone:  3.0             
Component:  Administration  |     Version:  2.9.1           
 Severity:  normal          |    Keywords:  has-patch commit
----------------------------+-----------------------------------------------

Comment(by nacin):

 Looks like there are a few more checks like these in plugins.php and
 themes.php that can be replaced with a cap check. Patch attached.

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


More information about the wp-trac mailing list