[wp-trac] [WordPress Trac] #38356: Replace get_blog_details() usage in add_user_to_blog() with get_site()

WordPress Trac noreply at wordpress.org
Tue Oct 25 05:48:24 UTC 2016


#38356: Replace get_blog_details() usage in add_user_to_blog() with get_site()
--------------------------------------+-------------------------
 Reporter:  iamfriendly               |       Owner:  jeremyfelt
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.7
Component:  Networks and Sites        |     Version:  3.0
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+-------------------------
Changes (by jeremyfelt):

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


Comment:

 In [changeset:"38903"]:
 {{{
 #!CommitTicketReference repository="" revision="38903"
 Multisite: Replace `get_blog_details()` in `add_user_to_blog()` with
 `get_site()`.

 Adds tests for `add_user_to_blog()`.

 Props flixos90.
 Fixes #38356.
 }}}

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


More information about the wp-trac mailing list