Opened 10 years ago
Closed 10 years ago
#38357 closed enhancement (fixed)
Replace get_blog_details() usage in ms_site_check() with get_site()
| Reported by: | iamfriendly | Owned by: | jeremyfelt |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | Networks and Sites | Version: | 4.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | multisite |
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
@
10 years ago
- Keywords has-patch added; needs-patch needs-unit-tests removed
- Milestone Awaiting Review → 4.7
- Owner set to
- Status new → assigned
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
10 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.