[wp-trac] [WordPress Trac] #9674: Better support for custom post types

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 18 18:16:13 UTC 2010


#9674: Better support for custom post types
------------------------------------+---------------------------------------
 Reporter:  wnorris                 |        Owner:  ryan    
     Type:  task (blessed)          |       Status:  reopened
 Priority:  normal                  |    Milestone:  3.0     
Component:  Administration          |      Version:  2.9     
 Severity:  normal                  |   Resolution:          
 Keywords:  has-patch tested early  |  
------------------------------------+---------------------------------------

Comment(by ryan):

 Replying to [comment:174 sirzooro]:
 > I think it will be good to mark if given post type supports comments or
 not - this information could be used by theme to display or not comments
 and comment form.

 {{{
 if ( post_type_supports($type, 'comment's) )
 }}}

 If themes start using this more often, we might want to add
 the_post_type_supports($capability).

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


More information about the wp-trac mailing list