[wp-trac] [WordPress Trac] #21009: If name="post_type" is set in search template the archive template is loaded.
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 26 21:37:30 UTC 2012
#21009: If name="post_type" is set in search template the archive template is
loaded.
-------------------------------+------------------------------
Reporter: ZaneMatthew | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Types | Version: 3.4
Severity: minor | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by WraithKenny):
anyway, the least I can offer is a symptom: that
www.example.com/?s=meat&post_type=recipes gives me (via debug-bar)
{{{
Query Type: Search
Query Template: archive-recipes.php
}}}
and wp_title() gives me the Search page's title, while loading up the
wrong template.
I'll keep looking to see if I can find the cause.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21009#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list