Changeset 7338 for trunk/bp-forums/bp-forums-functions.php
- Timestamp:
- 08/05/2013 02:42:16 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-forums/bp-forums-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-functions.php
r7298 r7338 463 463 // Get the topic ids 464 464 foreach ( (array) $topics as $topic ) $topic_ids[] = $topic->topic_id; 465 $topic_ids = $wpdb->escape( join( ',', (array)$topic_ids ) );465 $topic_ids = implode( ',', wp_parse_id_list( $topic_ids ) ); 466 466 467 467 // Fetch the topic's last poster details … … 597 597 // Get the user ids 598 598 foreach ( (array) $posts as $post ) $user_ids[] = $post->poster_id; 599 $user_ids = $wpdb->escape( join( ',', (array)$user_ids ) );599 $user_ids = implode( ',', wp_parse_id_list( $user_ids ) ); 600 600 601 601 // Fetch the poster's user_email, user_nicename and user_login
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)