[wp-trac] [WordPress Trac] #27670: Plugin Information tab - inaccesible without install_plugin capability
WordPress Trac
noreply at wordpress.org
Sun Jun 26 15:08:17 UTC 2016
#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: dev-feedback needs-patch | Focuses: administration
--------------------------------------+------------------------------
Comment (by kraftner):
The problem currently is that the plugin information tab is sitting on top
of {{{wp-admin/plugin-install.php}}} and therefore "inherits" the
requirements for plugin installation. To change this a pretty extensive
rewrite of permission checking for wp-admin is necessary which
unfortunately I couldn't wrap my hand around yet.
So where we're actually being kicked out is the check with
{{{user_can_access_admin_page()}}} at the end of {{{wp-
admin/includes/menu.php}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27670#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list