Ticket #22213: 22213.patch
| File 22213.patch, 544 bytes (added by johnbillion, 7 months ago) |
|---|
-
wp-includes/query.php
2661 2661 2662 2662 $this->request = apply_filters( 'posts_request_ids', $this->request, $this ); 2663 2663 2664 $ids = $wpdb->get_col( $this->request ); 2664 if ( empty( $distinct ) ) 2665 $ids = $wpdb->get_col( $this->request ); 2666 else 2667 $ids = wp_list_pluck( $wpdb->get_results( $this->request ), 'ID' ); 2665 2668 2666 2669 if ( $ids ) { 2667 2670 $this->posts = $ids;
