Opened 4 years ago
Closed 4 years ago
#38357 closed enhancement (fixed)
Replace get_blog_details() usage in ms_site_check() with get_site()
Reported by: | iamfriendly | Owned by: | jeremyfelt |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 4.6 |
Component: | Networks and Sites | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
See https://core.trac.wordpress.org/ticket/37102#comment:17
Number 23 from original ticket.
Could add unit tests to ms_site_check() at the same time.
Attachments (1)
Change History (6)
#2
follow-up:
↓ 4
@
4 years ago
- Keywords has-patch added; needs-patch needs-unit-tests removed
- Milestone changed from Awaiting Review to 4.7
- Owner set to jeremyfelt
- Status changed from new to assigned
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
4 years ago
Note: See
TracTickets for help on using
tickets.
38357.diff replaces
get_blog_details()
withget_site()
inms_site_check()
. Regarding unit tests, after looking at the function I don't think we can properly test this function at this point, so I would skip that for now.