[wp-trac] [WordPress Trac] #26749: Post Type archive incorrectly identified as "home"

WordPress Trac noreply at wordpress.org
Sun Feb 2 00:38:51 UTC 2014


#26749: Post Type archive incorrectly identified as "home"
--------------------------+-------------------------
 Reporter:  michaelhall   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  3.8
 Severity:  normal        |  Resolution:  maybelater
 Keywords:                |     Focuses:  template
--------------------------+-------------------------

Comment (by nacin):

 This is actually by design. Post type archives are designed to be for a
 single post type. Otherwise, ?post_type in a URL is no different than any
 other query string designed to alter a blog's results (like ?order=asc).
 We probably could load archive.php in this case and not break a ton, but
 I'd rather not risk it. This is less of a maybelater than a by-design. If
 you want to enforce a particular template, you can do so.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26749#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list