[wp-trac] [WordPress Trac] #22956: Unpredictable template loading when multiple post types are involved

WordPress Trac noreply at wordpress.org
Thu Jan 3 06:17:48 UTC 2013


#22956: Unpredictable template loading when multiple post types are involved
------------------------------+--------------------
 Reporter:  scribu            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.5.1
Component:  Post Types        |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by nacin):

 In [changeset:"23249"]:
 {{{
 #!CommitTicketReference repository="" revision="23249"
 Ensure that get_archive_template() only loads a post type archive
 (archive-$post_type.php file) if there is exactly one post type in the
 query.

 props scribu.
 see #22956.
 for trunk.
 }}}

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


More information about the wp-trac mailing list