[wp-trac] [WordPress Trac] #30526: Wrong menu structure if user don't have create_users permission
WordPress Trac
noreply at wordpress.org
Thu Nov 27 11:23:02 UTC 2014
#30526: Wrong menu structure if user don't have create_users permission
------------------------------+-----------------------------
Reporter: Stas Softangible | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.0.1
Severity: normal | Keywords:
Focuses: administration |
------------------------------+-----------------------------
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30526>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list