Multisite: Replace get_blog_details()
in wp_xmlrpc_server::_multisite_getUsersBlogs()
.
Use `get_site()` instead. Props flixos90. Fixes #38350. git-svn-id: https://develop.svn.wordpress.org/trunk@38934 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c6d8d79f15
commit
6f1ed31931
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user