Changeset 7337 for branches/1.8/bp-forums/bp-forums-functions.php
- Timestamp:
- 08/05/2013 02:41:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.8/bp-forums/bp-forums-functions.php
r7228 r7337 457 457 // Get the topic ids 458 458 foreach ( (array) $topics as $topic ) $topic_ids[] = $topic->topic_id; 459 $topic_ids = $wpdb->escape( join( ',', (array)$topic_ids ) );459 $topic_ids = implode( ',', wp_parse_id_list( $topic_ids ) ); 460 460 461 461 // Fetch the topic's last poster details … … 591 591 // Get the user ids 592 592 foreach ( (array) $posts as $post ) $user_ids[] = $post->poster_id; 593 $user_ids = $wpdb->escape( join( ',', (array)$user_ids ) );593 $user_ids = implode( ',', wp_parse_id_list( $user_ids ) ); 594 594 595 595 // Fetch the poster's user_email, user_nicename and user_login
Note: See TracChangeset
for help on using the changeset viewer.