Ticket #16836: user.patch
File user.patch, 937 bytes (added by , 10 years ago) |
---|
-
wp-includes/user.php
654 654 if ( !is_multisite() ) { 655 655 $blog_id = get_current_blog_id(); 656 656 $blogs = array(); 657 $blogs[ $blog_id ] = new stdClass(); 657 658 $blogs[ $blog_id ]->userblog_id = $blog_id; 658 659 $blogs[ $blog_id ]->blogname = get_option('blogname'); 659 660 $blogs[ $blog_id ]->domain = ''; … … 702 703 foreach ( (array) $blogs as $blog_id ) { 703 704 $blog = get_blog_details( $blog_id ); 704 705 if ( $blog && isset( $blog->domain ) && ( $all == true || $all == false && ( $blog->archived == 0 && $blog->spam == 0 && $blog->deleted == 0 ) ) ) { 706 $blog_deets[ $blog_id ] = new stdClass(); 705 707 $blog_deets[ $blog_id ]->userblog_id = $blog_id; 706 708 $blog_deets[ $blog_id ]->blogname = $blog->blogname; 707 709 $blog_deets[ $blog_id ]->domain = $blog->domain;