[wp-trac] [WordPress Trac] #12792: Custom post types cannot upload media or set thumbnails unless "editor" is enabled

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 6 11:20:00 UTC 2010


#12792: Custom post types cannot upload media or set thumbnails unless "editor" is
enabled
--------------------------+-------------------------------------------------
 Reporter:  markjaquith   |       Owner:                      
     Type:  defect (bug)  |      Status:  new                 
 Priority:  normal        |   Milestone:  3.0                 
Component:  Post Types    |     Version:  3.0                 
 Severity:  normal        |    Keywords:  has-patch thumbnails
--------------------------+-------------------------------------------------

Comment(by markjaquith):

 > To fix the thumbnail problem, we should replace
 jQuery('#add_image').click(); with something less presumptive.

 > attachment 12792.diff   added

 Nicely done! Solves that issues very cleanly.

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


More information about the wp-trac mailing list