Changeset 49193 for trunk/src/wp-includes/comment.php
- Timestamp:
- 10/18/2020 05:25:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r49111 r49193 3236 3236 $non_cached_ids = _get_non_cached_ids( $comment_ids, 'comment' ); 3237 3237 if ( ! empty( $non_cached_ids ) ) { 3238 $fresh_comments = $wpdb->get_results( sprintf( "SELECT $wpdb->comments.* FROM $wpdb->comments WHERE comment_ID IN (%s)", join( ',', array_map( 'intval', $non_cached_ids ) ) ) );3238 $fresh_comments = $wpdb->get_results( sprintf( "SELECT $wpdb->comments.* FROM $wpdb->comments WHERE comment_ID IN (%s)", implode( ',', array_map( 'intval', $non_cached_ids ) ) ) ); 3239 3239 3240 3240 update_comment_cache( $fresh_comments, $update_meta_cache );
Note: See TracChangeset
for help on using the changeset viewer.