[wp-trac] [WordPress Trac] #38350: Replace get_blog_details() usage in wp_xmlrpc_server::_multisite_getUsersBlogs() with get_site()

WordPress Trac noreply at wordpress.org
Tue Oct 25 22:29:18 UTC 2016


#38350: Replace get_blog_details() usage in
wp_xmlrpc_server::_multisite_getUsersBlogs() with get_site()
-------------------------+-------------------------
 Reporter:  flixos90     |       Owner:  jeremyfelt
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  4.7
Component:  XML-RPC      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  multisite
-------------------------+-------------------------
Changes (by flixos90):

 * keywords:  needs-patch needs-unit-tests => has-patch
 * owner:   => jeremyfelt
 * status:  new => reviewing
 * milestone:  Awaiting Review => 4.7


Comment:

 [attachment: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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38350#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list