Changeset 7029 for branches/1.7/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 05/09/2013 03:41:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.7/bp-xprofile/bp-xprofile-classes.php
r6775 r7029 1132 1132 1133 1133 if ( is_array( $user_ids ) ) { 1134 $user_ids = implode( ',', (array) $user_ids);1134 $user_ids = implode( ',', wp_parse_id_list( $user_ids ) ); 1135 1135 $data = $wpdb->get_results( $wpdb->prepare( "SELECT user_id, value FROM {$bp->profile->table_name_data} WHERE field_id = %d AND user_id IN ({$user_ids})", $field_id ) ); 1136 1136 } else {
Note: See TracChangeset
for help on using the changeset viewer.