Ticket #18583: 18583.patch
File 18583.patch, 599 bytes (added by , 9 years ago) |
---|
-
wp-includes/query.php
1552 1552 if ( '' != $qv['author_name'] ) 1553 1553 $this->is_author = true; 1554 1554 1555 if ( ! empty( $qv['post_type'] ) && ! is_array( $qv['post_type'] )) {1555 if ( ! empty( $qv['post_type'] ) && ! is_array( $qv['post_type'] ) && ! $this->is_search ) { 1556 1556 $post_type_obj = get_post_type_object( $qv['post_type'] ); 1557 1557 if ( ! empty( $post_type_obj->has_archive ) ) 1558 1558 $this->is_post_type_archive = true;