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

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 30 20:45:15 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 ryan):

 I'd like to decide on nomenclature first so we're not bouncing function
 names.  Getting away from post type would be good because of the conflict
 the notion of post templates and because the functions that play with the
 post_type field already suck up some of the good *_post_type field. I have
 no problem having post_type in the db and the use of it higher up the
 stack by a different term.  Content type could cause confusion with
 content-type, as noted above.  Object type may be a bit too generic, but
 we already use object for things like wp_get_object_terms(),
 is_object_in_term(), get_object_taxonomies(), etc.  Extending the use of
 object to maintain consistency with the taxonomoy object API may be the
 way to go.

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


More information about the wp-trac mailing list