Changeset 10595 for trunk/wp-includes/user.php
- Timestamp:
- 02/19/2009 06:42:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r10463 r10595 279 279 if ( empty($id) ) 280 280 $id = (int) $blog_id; 281 $users = $wpdb->get_results( "SELECT user_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 = '" . $wpdb->prefix . "capabilities' ORDER BY {$wpdb->usermeta}.user_id" );281 $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 = '{$wpdb->prefix}capabilities' ORDER BY {$wpdb->usermeta}.user_id" ); 282 282 return $users; 283 283 }
Note: See TracChangeset
for help on using the changeset viewer.