If name="post_type" is set in search template the archive template is loaded.
|Reported by:||ZaneMatthew||Owned by:|
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.