#38201 closed enhancement (fixed)
Several meta capabilities have no handling in map_meta_cap()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.7 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Role/Capability | Keywords: | |
| Focuses: | Cc: |
Description
The following meta capabilities are used within core but do not have any handling (no case statement) in map_meta_cap(). While this is functionally fine, it does mean that it's not possible to complete the meta capability tests in #38191.
create_sitesdelete_sitesmanage_networkmanage_sitesmanage_network_usersmanage_network_pluginsmanage_network_themesmanage_network_options
Meta capabilities with no handling in map_meta_cap() fall back to requiring a primitive capability of the same name, so this is the functionality that should occur in map_meta_cap(). This has no functional change as these capabilities are only available to super admins.
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 38695: