mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Reduce use of global. Use get_blog_details() instead. fixes #22090
git-svn-id: https://develop.svn.wordpress.org/trunk@22108 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3660,7 +3660,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* @access protected
|
||||
*/
|
||||
function _multisite_getUsersBlogs($args) {
|
||||
global $current_blog;
|
||||
$current_blog = get_blog_details();
|
||||
|
||||
$domain = $current_blog->domain;
|
||||
$path = $current_blog->path . 'xmlrpc.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user