[wp-trac] [WordPress Trac] #11330: Empty search takes you to homepage instead of empty search page
WordPress Trac
noreply at wordpress.org
Tue Jan 28 18:29:40 UTC 2014
#11330: Empty search takes you to homepage instead of empty search page
--------------------------+-----------------------------
Reporter: jacobfogg | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Future Release
Component: Query | Version: 2.8.5
Severity: minor | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Comment (by GhostToast):
Replying to [comment:27 nacin]:
> "s" is always going to be a filled query variable. This patch doesn't
work.
When I reproduce this anomaly, `get_queried_object()` appears to return
absolutely nothing. Could this be turned into a possible solution? When
else is that the case, 404?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11330#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list