Opened 10 years ago
Closed 10 years ago
#38350 closed enhancement (fixed)
Replace get_blog_details() usage in wp_xmlrpc_server::_multisite_getUsersBlogs() with get_site()
| Reported by: | flixos90 | Owned by: | jeremyfelt |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | XML-RPC | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | multisite |
Description
See #37102
Attachments (1)
Change History (6)
This ticket was mentioned in Slack in #core-multisite by richardtape. View the logs.
10 years ago
#3
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 → reviewing
38350.diff replaces the occurrence of get_blog_details() with get_site().
I think we should skip tests for XMLRPC here since it's not really possible to test the method at this point, especially since it's protected.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It looks like we don't have unit tests for XMLRPC multisite stuff. We should add some together with this change.