[wp-trac] [WordPress Trac] #38356: Replace get_blog_details() usage in add_user_to_blog() with get_site()
WordPress Trac
noreply at wordpress.org
Fri Oct 21 12:35:50 UTC 2016
#38356: Replace get_blog_details() usage in add_user_to_blog() with get_site()
--------------------------------------+-------------------------
Reporter: iamfriendly | Owner: jeremyfelt
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.7
Component: Networks and Sites | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+-------------------------
Changes (by flixos90):
* keywords: needs-patch needs-unit-tests => has-patch has-unit-tests
* owner: => jeremyfelt
* status: new => assigned
* milestone: Awaiting Review => 4.7
Comment:
[attachment:38356.diff] replaces `get_blog_details()` with `get_site()`
and adds unit tests for `add_user_to_blog()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38356#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list