[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
Mon Jun 18 17:33:29 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):

 If that's a custom search form, why don't you rename the hidden field to
 `type`?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21009#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list