Opened 9 years ago
Closed 9 years ago
#38356 closed enhancement (fixed)
Replace get_blog_details() usage in add_user_to_blog() with get_site()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Networks and Sites | Keywords: | has-patch has-unit-tests |
Focuses: | multisite | Cc: |
Description
See https://core.trac.wordpress.org/ticket/37102#comment:17
Number 22 from original ticket.
Should probably add unit tests for add_user_to_blog() at the same time.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
38356.diff replaces
get_blog_details()
withget_site()
and adds unit tests foradd_user_to_blog()
.