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

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 27 15:05:21 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 prettyboymp):

 Replying to [comment:185 mikeschinkel]:
 > Oops, let me clarify.  I think a URL structure for each post type
 absolutely needs to be baked into the core. It's too fundamental to allow
 multiple plugins to do it in multiple competing and incompatible ways.
 Since a URL is a *unique* identifier, allowing 2 or more plugins to define
 URLs for a post type (and hence break that uniqueness) makes no sense.

 Multiple plugins shouldn't define the url structure for a single post
 type.  A plugin should only create its own post_types and manage only the
 url structures for those post_types.  I don't know of a reason a plugin
 should mess with post_types it didn't create.

 Though I do agree that the process of creating the url structures for the
 custom post_types should probably be simplified.

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


More information about the wp-trac mailing list