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

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 22 05:48:44 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):

 Inline edit post always submits a post_type of 'post' even when editing a
 custom post type. This is due to the following in 'inline-edit-post.js':

 {{{
 t.type = $('table.widefat').hasClass('page') ? 'page' : 'post';
 }}}

 This method should be changed to just check the new javascript variable
 'typenow', which should already be set with the correct post type.

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


More information about the wp-trac mailing list