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

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 17 17:43:30 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 jfarthing84):

 I have a few suggestions pertaining to some things I have noticed while
 testing custom post types.

 One important thing is that not all custom post types will require a
 category, yet the wp_insert_post (and numerous other "wrap" functions)
 force the default category to be selected. This should be avoided somehow.

 Also, I believe that every link to something post related within the
 administration should append the post type. In particular, the media links
 and all of the javascript for autosave and inline editing and such. This
 way, we could possibly perform different ajax and media actions depending
 upon post type.

 Another thing, when the admin menu is generated for content whose
 "show_ui" property is true, it all defaults to the same menu ID ("manage-
 posts"). First of all, ID's are supposed to be unique. Also, this removes
 the ability to use custom icons for those menus, as they automatically
 inherit the post icon.

 I believe that's all, for now...

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


More information about the wp-trac mailing list