[wp-trac] [WordPress Trac] #22277: Admin (not just superadmin) should be able to add user without confirmation email in multisite
WordPress Trac
noreply at wordpress.org
Mon Jul 15 16:26:28 UTC 2013
#22277: Admin (not just superadmin) should be able to add user without confirmation
email in multisite
-----------------------------------+-----------------------------
Reporter: jane | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Multisite | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+-----------------------------
Changes (by DrewAPicture):
* keywords: has-patch commit => has-patch 2nd-opinion
Comment:
Kind of interesting to see the two different approaches the to same
problem.
The patch here, [attachment:22277.2.patch] seems better because:
* it doesn't needlessly check the `promote_users` cap like
[attachment:ticket:20221:user-new.2.patch] does
* [attachment:ticket:20221:user-new.2.patch] incorrectly changes the
`is_super_admin()` check on the `get_user_by( 'login'` call since only
super admins can add existing users by login anyway
I suggest we close #20221 in favor of the patch here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22277#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list