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

WordPress Trac noreply at wordpress.org
Fri Jan 4 20:05:32 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 fixed-major  |
------------------------------------------+--------------------

Comment (by nacin):

 In [changeset:"23271"]:
 {{{
 #!CommitTicketReference repository="" revision="23271"
 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.

 Merges [23249] to the 3.5 branch.

 props scribu.
 see #22956.
 }}}

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


More information about the wp-trac mailing list