Opened 12 years ago
Closed 12 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Users | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | administration |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Bug screenshot