[wp-trac] [WordPress Trac] #30526: Wrong menu structure if user don't have create_users permission
WordPress Trac
noreply at wordpress.org
Sun Nov 30 19:17:46 UTC 2014
#30526: Wrong menu structure if user don't have create_users permission
------------------------------+-----------------------------
Reporter: Stas Softangible | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Users | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: administration
------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"30659"]:
{{{
#!CommitTicketReference repository="" revision="30659"
The menu items for `users.php` and `profile.php` that require the
`promote_users` cap should be wrapped in an `is_multisite()` conditional a
la `user-new.php`.
Props SergeyBiryukov.
Fixes #30526.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30526#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list