Multisite: Replace `get_blog_details()` in `wp_xmlrpc_server::_multisite_getUsersBlogs()`.

Use `get_site()` instead.

Props flixos90.
Fixes #38350.

Built from https://develop.svn.wordpress.org/trunk@38934


git-svn-id: http://core.svn.wordpress.org/trunk@38877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2016-10-25 22:54:35 +00:00
parent 02ce8db6de
commit a4e98f7cb9
2 changed files with 2 additions and 2 deletions

View File

@ -4371,7 +4371,7 @@ class wp_xmlrpc_server extends IXR_Server {
* @return array|IXR_Error
*/
protected function _multisite_getUsersBlogs( $args ) {
$current_blog = get_blog_details();
$current_blog = get_site();
$domain = $current_blog->domain;
$path = $current_blog->path . 'xmlrpc.php';

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38933';
$wp_version = '4.7-alpha-38934';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.