[wp-trac] [WordPress Trac] #16415: Don't require CPTs to have archives in order to have feeds

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 27 21:00:59 UTC 2012


#16415: Don't require CPTs to have archives in order to have feeds
------------------------------+------------------
 Reporter:  aaroncampbell     |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.5
Component:  Post Types        |     Version:  3.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by aaroncampbell):

 [attachment:16415.5.diff] switches the filter to
 `ignore_has_archive_$post_type` which is better worded and allows you to
 pass a more logical `__return_true` to override.

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


More information about the wp-trac mailing list