[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 Jun 20 01:58:37 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: |
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Ah, I see. Can't reproduce though.
1. Created a post type using the
[http://codex.wordpress.org/Function_Reference/register_post_type#Example
basic example] from Codex.
2. Tested /?s=around&type=book and /?s=around&post_type=book URLs with
Twenty Eleven.
3. Both resulting pages use the search template.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21009#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list