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:
parent
02ce8db6de
commit
a4e98f7cb9
|
@ -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';
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue