Make WordPress Core

Changeset 9798


Ignore:
Timestamp:
11/19/2008 11:06:01 PM (16 years ago)
Author:
ryan
Message:

wp_getUsersBlogs() fix from josephscott. fixes #8255

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r9745 r9798  
    430430        foreach( $blogs as $blog ) {
    431431            // Don't include blogs that aren't hosted at this site
    432             if( $blog->site_id != 1 )
     432            if( $blog->site_id != $current_site->id )
    433433                continue;
    434434
     
    444444                'xmlrpc'        => get_option( 'home' ) . '/xmlrpc.php'
    445445            );
     446
     447            restore_current_blog( );
    446448        }
    447449
Note: See TracChangeset for help on using the changeset viewer.