﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
21009,"If name=""post_type"" is set in search template the archive template is loaded.",ZaneMatthew,,"I have a hidden form field named ""post_type"", which is used in the search form. When the user searches the archive.php template is loaded and not the search.php template.

I'm not sure if this is a bug, or unexpected behavior, note my fix was to use a different form field name.

Bug(?) url: 
== http://bmxraceevents.com/?s=maryland&post_type=events ==

Fixed url: 
== http://bmxraceevents.com/?s=maryland&type=events ==

== http://zanematthew.com/blog/2012/06/unexpected-behavior-in-wordpress-custom-post-type-search-template/ ==
",defect (bug),new,normal,Awaiting Review,Post Types,3.4,minor,,reporter-feedback,
