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

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 8 14:10:58 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 mikeschinkel):

 '''@prettyboymp: Should it continue to do this in a "hardcoded" way like
 the post-thumbnails currently is ... Also, should the core metaboxes
 really integrate differently than the metaboxes that plugins provide?'''

 Good catch.  I'd really like to see handled it generically so that, if
 desired, a plugin could remove metabox functionality from the core post
 types given that's something that client would likely see.

 '''@prettyboymp: For instance, a user has a website and finds a plugin
 that adds an events post_type to their site. They later decide to add a
 geo-coordinates plugin that allows them to a post, but they want this also
 to apply to their events post_type.'''

 Great use case.  That's a good example of why we need to have a standard
 way to persist post type data in WordPress and also to have WordPress core
 handle the persistence. By handling it with core functions WordPress can
 expose the needed functionality to allow plugins to integrate post type
 extensions that are compatible with one another.

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


More information about the wp-trac mailing list