Ticket #9674: 9674-183.patch
File 9674-183.patch, 416 bytes (added by , 15 years ago) |
---|
-
wp-includes/query.php
1592 1592 $q['suppress_filters'] = false; 1593 1593 1594 1594 if ( !isset($q['post_type']) ) { 1595 if ( $this->is_search )1595 if ( $this->is_search || isset($q['p'])) 1596 1596 $q['post_type'] = 'any'; 1597 1597 else 1598 1598 $q['post_type'] = '';