apply xmlrpc patch 2056 from MU 2.9.1.1, fixes #11999

git-svn-id: https://develop.svn.wordpress.org/trunk@12864 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick 2010-01-27 02:59:26 +00:00
parent b0b57be325
commit 27ae64ead2
1 changed files with 1 additions and 0 deletions

View File

@ -441,6 +441,7 @@ class wp_xmlrpc_server extends IXR_Server {
* @return array * @return array
*/ */
function wp_getUsersBlogs( $args ) { function wp_getUsersBlogs( $args ) {
global $current_site;
// If this isn't on WPMU then just use blogger_getUsersBlogs // If this isn't on WPMU then just use blogger_getUsersBlogs
if ( !is_multisite() ) { if ( !is_multisite() ) {
array_unshift( $args, 1 ); array_unshift( $args, 1 );