Ticket #21459: 21459.6.diff
File 21459.6.diff, 382 bytes (added by , 12 years ago) |
---|
-
wp-includes/ms-blogs.php
473 473 474 474 if ( did_action( 'init' ) ) { 475 475 $wp_roles->reinit(); 476 $current_user = wp_get_current_user();476 global $current_user; 477 477 $current_user->for_blog( $new_blog ); 478 478 } 479 479