Changeset 27258 for trunk/src/wp-includes/comment.php
- Timestamp:
- 02/25/2014 04:34:25 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r27191 r27258 374 374 if ( '' !== $parent ) 375 375 $where .= $wpdb->prepare( ' AND comment_parent = %d', $parent ); 376 if ( '' !== $user_id ) 376 377 if ( is_array( $user_id ) ) { 378 $where .= ' AND user_id IN (' . implode( ',', array_map( 'absint', $user_id ) ) . ')'; 379 } elseif ( '' !== $user_id ) { 377 380 $where .= $wpdb->prepare( ' AND user_id = %d', $user_id ); 381 } 382 378 383 if ( '' !== $search ) 379 384 $where .= $this->get_search_sql( $search, array( 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_author_IP', 'comment_content' ) );
Note: See TracChangeset
for help on using the changeset viewer.