Changeset 22428 for trunk/wp-includes/query.php
- Timestamp:
- 11/07/2012 07:28:08 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r22258 r22428 2407 2407 $in_search_post_types = get_post_types( array('exclude_from_search' => false) ); 2408 2408 if ( ! empty( $in_search_post_types ) ) 2409 $where .= $wpdb->prepare(" AND $wpdb->posts.post_type IN ('" . join("', '", $in_search_post_types ) . "')");2409 $where .= " AND $wpdb->posts.post_type IN ('" . join("', '", $in_search_post_types ) . "')"; 2410 2410 } elseif ( !empty( $post_type ) && is_array( $post_type ) ) { 2411 2411 $where .= " AND $wpdb->posts.post_type IN ('" . join("', '", $post_type) . "')";
Note: See TracChangeset
for help on using the changeset viewer.