[wp-trac] [WordPress Trac] #12943: Feeds for custom post types

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 18 20:20:13 UTC 2010


#12943: Feeds for custom post types
-----------------------------+----------------------------------------------
 Reporter:  matthewhollett   |        Owner:            
     Type:  feature request  |       Status:  closed    
 Priority:  normal           |    Milestone:            
Component:  Feeds            |      Version:  3.0       
 Severity:  normal           |   Resolution:  worksforme
 Keywords:                   |  
-----------------------------+----------------------------------------------

Comment(by nacin):

 Careful with that code snippet above -- get_post_types() should be
 `get_post_types( array( 'public' => true ) )`, if not a very specific
 whitelist (for example menu items are public = true).

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


More information about the wp-trac mailing list