function get_users_of_blog( $id = ''
) { _deprecated_function( __FUNCTION__, '3.1.0', 'get_users()'
);
global $wpdb;
if ( empty( $id ) ) { $id =
get_current_blog_id();
} $blog_prefix =
$wpdb->
get_blog_prefix($id);
$users =
$wpdb->
get_results( "SELECT user_id, user_id AS ID, user_login, display_name, user_email, meta_value FROM
$wpdb->users,
$wpdb->usermeta WHERE {
$wpdb->users
}.ID = {
$wpdb->usermeta
}.user_id AND meta_key = '{
$blog_prefix}capabilities' ORDER BY {
$wpdb->usermeta
}.user_id"
);
return $users;
}/**
* Enable/disable automatic general feed link outputting.
*
* @since 2.8.0
* @deprecated 3.0.0 Use add_theme_support()
* @see add_theme_support()
*
* @param bool $add Optional. Add or remove links. Default true.
*/