[wp-trac] [WordPress Trac] #38526: REST Multisite new user is not assigned to any site

WordPress Trac noreply at wordpress.org
Wed Nov 9 01:34:57 UTC 2016


#38526: REST Multisite new user is not assigned to any site
---------------------------------------------+------------------------
 Reporter:  Compute                          |       Owner:  rmccue
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.7
Component:  REST API                         |     Version:  trunk
 Severity:  major                            |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  multisite
---------------------------------------------+------------------------
Changes (by rmccue):

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


Comment:

 In [changeset:"39177"]:
 {{{
 #!CommitTicketReference repository="" revision="39177"
 REST API: Fire correct hooks when creating users on multiste.

 `add_user_to_blog()` is now called, ensuring the correct hooks are called,
 along with setting the primary blog and clearing relevant caches.

 Props jeremyfelt.
 Fixes #38526.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38526#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list