[wp-trac] [WordPress Trac] #13818: There should be index pages for custom post types

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 23 18:29:25 UTC 2010


#13818: There should be index pages for custom post types
----------------------------+-----------------------------------------------
 Reporter:  frankieroberto  |       Owner:  nacin    
     Type:  task (blessed)  |      Status:  accepted 
 Priority:  normal          |   Milestone:  3.1      
Component:  Template        |     Version:  3.0      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------

Comment(by nacin):

 (In [15936]) Move the CPT archive flag outside of the rewrite argument,
 into its own has_archive. has_archive controls more than just URL
 rewriting, it also handles whether ?post_type= is treated as a CPT
 archive. feeds remain in rewrite as ?feed= would work regardless. see
 #13818.

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


More information about the wp-trac mailing list