[wpmu-trac] [WordPress MU Trac] #834: $current_site check not
working in XMLRPC.php
WordPress MU Trac
wpmu-trac at lists.automattic.com
Wed Jan 7 19:33:24 GMT 2009
#834: $current_site check not working in XMLRPC.php
------------------------+---------------------------------------------------
Reporter: kingler | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: component1 | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
In xmlrpc.php, function wp_getUsersBlogs()
The following condition check depends on the $current_site variable,
{{{
if( $blog->site_id != $current_site->id )
}}}
To fix this bug, it is needed to add the following line before this block.
{{{
global $current_site;
}}}
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/834>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list