[wp-trac] [WordPress Trac] #54258: post_type query parameter added to url causes incorrect type search results (5.8.1)

WordPress Trac noreply at wordpress.org
Wed Oct 13 20:27:40 UTC 2021


#54258: post_type query parameter added to url causes incorrect type search results
(5.8.1)
-------------------------------+------------------------------
 Reporter:  arestelle          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  5.8.1
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by arestelle):

 I've just tested removing each of those two from the condition that causes
 the parameter to be added in my function; it is the `WP_Query::is_tax()`
 method that is now returning true.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54258#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list