[wp-trac] [WordPress Trac] #12306: Custom attachment types

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 20 17:37:20 UTC 2010


#12306: Custom attachment types
-------------------------+--------------------------------------------------
 Reporter:  jfarthing84  |       Owner:                              
     Type:  enhancement  |      Status:  new                         
 Priority:  normal       |   Milestone:  3.0                         
Component:  Media        |     Version:  3.0                         
 Severity:  normal       |    Keywords:  developer-feedback has-patch
-------------------------+--------------------------------------------------

Comment(by jfarthing84):

 It should be used to determine how to handle custom post types within
 built-in functions just as I am proposing to use it.

 For instance, setting the inherit type to 'attachment' tells the core that
 this is an attachment, otherwise the core would not know if a custom post
 type of "doohickey" is supposed to be a post, page, attachment or what.

 So, I set "doohickey" to post and the core will display this with posts
 and use the post edit screen to edit it, etc.

 If I set "doohickey" to attachment, the core should display it with
 attachments and use the edit attachment screen to edit it, etc.

 So on and so forth. It makes perfect sense. Make me a commiter and I'll
 help implement it! ;-)

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


More information about the wp-trac mailing list