[wp-trac] [WordPress Trac] #27670: Plugin Information tab - inaccesible without install_plugin capability
WordPress Trac
noreply at wordpress.org
Mon Sep 29 13:05:19 UTC 2014
#27670: Plugin Information tab - inaccesible without install_plugin capability
-------------------------------+------------------------------
Reporter: FolioVision | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version: 3.8.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: administration
-------------------------------+------------------------------
Changes (by kraftner):
* keywords: => reporter-feedback
Comment:
First I think what you actually mean is "But if you '''prohibit'''
installing plugins with f.e. with add_cap("install_plugins", FALSE) ..."
is this correct?
Then "wp-admin/plugin-install.php" is only for installing new plugins
which "install_plugins" is the right capability for. "wp-
admin/plugins.php" on the other hand only checks for
"current_user_can('activate_plugins')" so I think this is all fine.
If not, can you please clarify your issue?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27670#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list