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

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 30 23:26:38 UTC 2009


#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 aaroncampbell):

 Just to put this out there, the existing *_post_type functions are:

  * get_post_type
  * get_post_types
  * register_post_type
  * set_post_type

 I'm all for parting from the post_type name, because people have a hard
 time seeing that as anything other than types of '''posts'''.  They'd see
 that as an article vs a tip vs a review, but not as an attachment or a
 podcast or even a page.  As for what else you choose, I think object_type
 is good, but if it's too "programmer friendly" and not user friendly, then
 I'm fine with item_type as suggested above.

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


More information about the wp-trac mailing list