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

WordPress Trac noreply at wordpress.org
Wed Dec 26 20:45:35 UTC 2012


#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     |
--------------------------+--------------------
Changes (by nacin):

 * keywords:  has-patch commit => has-patch


Comment:

 get_query_var() likes to return `''` when a query variable doesn't exist,
 and we like resetting query vars to `''` as well. In this case, we'd
 actually go looking for an `archive-.php` file, I'm pretty sure.

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


More information about the wp-trac mailing list