Ticket #50070: 50070.diff
File 50070.diff, 428 bytes (added by , 5 years ago) |
---|
-
class-wp-query.php
2544 2544 2545 2545 $where .= ')'; 2546 2546 } 2547 2548 // Attempt to set post type prior to filters. 2549 if( empty( $q['post_type'] ) ) { 2550 $q['post_type'] = $post_type; 2551 } 2547 2552 2548 2553 /* 2549 2554 * Apply filters on where and join prior to paging so that any