[wp-trac] [WordPress Trac] #11330: Empty search takes you to homepage instead of empty search page

WordPress Trac noreply at wordpress.org
Mon Jun 23 12:19:50 UTC 2014


#11330: Empty search takes you to homepage instead of empty search page
------------------------------+-----------------------------
 Reporter:  jacobfogg         |       Owner:  wonderboymusic
     Type:  defect (bug)      |      Status:  reopened
 Priority:  low               |   Milestone:  4.0
Component:  Query             |     Version:  2.8.5
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------

Comment (by kovshenin):

 Tested with .6.diff, seems to have resolved the issue.

 > Jetpack should be passing the values from ->query, not ->query_vars

 As I mentioned in my comment on the other ticket, I believe it's fair to
 assume that the resulting query has been built with query_vars (which is
 publicly accessible), and by passing the same array to a new WP_Query, I
 would expect to get the same results. Obviously Jetpack and other plugins
 can use the query array instead, which is also publicly accessible, but
 they didn't.

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


More information about the wp-trac mailing list