Opened 10 years ago
Closed 10 years ago
#30526 closed defect (bug) (fixed)
Wrong menu structure if user don't have create_users permission
Reported by: | Stas Softangible | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Users | Keywords: | has-patch commit |
Focuses: | administration | Cc: |
Description
I have removed create_users permission from administrator user.
As expected on "All users" panel the button "Add new" disappeared, but on left menu link "Add new" still exists. Clicking on it displayed confusing error "Cheating huh?".
Probable place of the bug:
File: /wp-admin/menu.php
Lines: 195-200
Attachments (3)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Bug screenshot