[wp-trac] [WordPress Trac] #40387: WP_Query bug with product post type with search parameter on

WordPress Trac noreply at wordpress.org
Sat Apr 8 20:19:42 UTC 2017


#40387: WP_Query bug with product post type with search parameter on
------------------------------+----------------------
 Reporter:  subrataemfluence  |       Owner:
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Query             |     Version:  4.7.3
 Severity:  normal            |  Resolution:  invalid
 Keywords:                    |     Focuses:
------------------------------+----------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 There's nothing specific in `WP_Query` that'd cause the post_type
 parameter to be changed based on the presence of a search term. I've done
 some testing and I can't reproduce the behavior. It's likely that what
 you're seeing is due to a plugin that modifies WP's core search
 functionality. Please do some debugging by disabling plugins along these
 lines, and feel free to reopen this ticket if you find evidence directly
 indicating that this is a core bug.

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


More information about the wp-trac mailing list