# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /Users/Francesco/NetBeansProjects/wptrunk/trunk
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: wp-includes/ms-deprecated.php
--- wp-includes/ms-deprecated.php Base (BASE)
+++ wp-includes/ms-deprecated.php Locally Modified (Based On LOCAL)
@@ -48,10 +48,10 @@
 		if ( !$user_id )
 			return false;
 	} else {
-		$user = new WP_User( null, $user_login) ;
-		if ( empty( $user->id ) )
+		$user = get_userdatabylogin( $user_login );
+		if ( empty( $user->ID ) )
 			return false;
-		$user_id = $user->id;
+		$user_id = $user->ID;
 	}
 
 	return is_super_admin( $user_id );
