[wp-trac] [WordPress Trac] #37836: Cannot disable 'Add existing user'
WordPress Trac
noreply at wordpress.org
Thu Oct 13 20:56:45 UTC 2016
#37836: Cannot disable 'Add existing user'
-------------------------------------+-------------------------------------
Reporter: bseddon | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses: ui, administration,
needs-refresh | multisite
-------------------------------------+-------------------------------------
Changes (by flixos90):
* keywords: needs-testing has-patch => needs-testing has-patch needs-
refresh
Comment:
I think the problem here is only related to the usage of the
`promote_users` capability, not the `$do_both` variable. As @bseddon says
on the ticket description, the "Add Existing User" form should only show
when the user has the `promote_users` capability, but it currently shows
regardless.
Of course the headings missing is weird, but it's not the actual bug,
since when the additional capability check is added, the headings are
displayed correctly under all circumstances.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37836#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list