[wp-trac] [WordPress Trac] #4991: Edit post post_type should actually be the post_type

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 16 21:51:06 GMT 2007


#4991: Edit post post_type should actually be the post_type
----------------------+-----------------------------------------------------
 Reporter:  filosofo  |       Owner:  anonymous               
     Type:  defect    |      Status:  new                     
 Priority:  normal    |   Milestone:  2.4                     
Component:  General   |     Version:  2.3                     
 Severity:  normal    |    Keywords:  post_type edit has-patch
----------------------+-----------------------------------------------------
 Lately for a couple of plugins I've created a custom post_type.

 However, when editing a post, the post_type input field has hard-coded
 "post" as its value, meaning post_type is always overwritten as "post."

 My patch sets the post_type field with whatever the post type actually is.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4991>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list