[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:10:49 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:
----------------------------+-----------------------------------------------
In WP 2.9.1, wp-admin/plugins.php shows an "Add New" button next to the
"Manage Plugins" title regardless of whether the user has these
permissions or not:
http://core.trac.wordpress.org/browser/tags/2.9.1/wp-
admin/plugins.php#L278
This "Add New" button should only be shown if the user has the
install_plugins capability.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11935>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list