[wp-trac] [WordPress Trac] #39220: Remove 1 `is_super_admin()` check in wp-admin/user-new.php

WordPress Trac noreply at wordpress.org
Tue Jan 24 12:02:27 UTC 2017

#39220: Remove 1 `is_super_admin()` check in wp-admin/user-new.php
 Reporter:  supercoder       |       Owner:  flixos90
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  4.8
Component:  Role/Capability  |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:  multisite
Changes (by flixos90):

 * status:  reviewing => closed
 * resolution:   => fixed


 In [changeset:"39946"]:
 #!CommitTicketReference repository="" revision="39946"
 Multisite: Remove unnecessary `is_super_admin()` check when adding an
 existing user to a site.

 Prior to this change, a super admin user that is added to a site who they
 are already a member of would still get reinvited.

 Props supercoder.
 Fixes #39220. See #37616.

Ticket URL: <https://core.trac.wordpress.org/ticket/39220#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list