Changeset 13947 for trunk/wp-admin/includes/user.php
- Timestamp:
- 04/02/2010 05:23:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/user.php
r13934 r13947 689 689 $this->query_where .= $wpdb->prepare(" AND $wpdb->usermeta.meta_key = '{$wpdb->prefix}capabilities' AND $wpdb->usermeta.meta_value LIKE %s", '%' . $this->role . '%'); 690 690 } elseif ( is_multisite() ) { 691 $level_key = $wpdb-> get_blog_prefix(). 'capabilities'; // wpmu site admins don't have user_levels691 $level_key = $wpdb->prefix . 'capabilities'; // wpmu site admins don't have user_levels 692 692 $this->query_from .= ", $wpdb->usermeta"; 693 693 $this->query_where .= " AND $wpdb->users.ID = $wpdb->usermeta.user_id AND meta_key = '{$level_key}'";
Note: See TracChangeset
for help on using the changeset viewer.