#41538 closed defect (bug) (fixed)
Check correct capabilities for update page in network admin
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Role/Capability | Keywords: | has-patch |
| Focuses: | multisite | Cc: |
Description
In wp-admin/network/menu.php it is assumed that a user must have the update_core capability to access the "Updates" page. This works fine for default core behavior, but it should also work for the cases where a network user only has the update_plugins, update_themes or update_languages capability (the latter as a result of #39677).
Once #39677 has been merged, let's fix this here.
Attachments (1)
Change History (7)
This ticket was mentioned in Slack in #core-multisite by flixos90. View the logs.
8 years ago
#3
@
8 years ago
- Owner set to flixos90
- Resolution set to fixed
- Status changed from new to closed
In 41269:
Note: See
TracTickets for help on using
tickets.
41538.diff uses a correct capability for the Updates page, similarly to how
wp-admin/menu.phphandles it.