Deprecate get_user_details(). see #11644

git-svn-id: http://svn.automattic.com/wordpress/trunk@12839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2010-01-26 17:16:49 +00:00
parent 844056354b
commit 8d48c939fa
2 changed files with 9 additions and 6 deletions

View File

@@ -93,12 +93,6 @@ function get_admin_users_for_domain( $sitedomain = '', $path = '' ) {
return false;
}
// @todo Use get_user_by() and deprecate.
function get_user_details( $username ) {
global $wpdb;
return $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->users WHERE user_login = %s", $username) );
}
function is_main_blog() {
global $current_blog, $current_site;
if ( $current_blog->domain == $current_site->domain && $current_blog->path == $current_site->path )