[wp-trac] [WordPress Trac] #16732: media_upload_tabs filter not called for non-async upload

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 2 21:16:39 UTC 2011


#16732: media_upload_tabs filter not called for non-async upload
--------------------------+-----------------------------
 Reporter:  leewillis77   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  3.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Steps to reproduce:
 - Register a custom post type (The media uploader only seems to show tabs
 on non-"post" post types???)
 - Add a simple filter to media_upload_tabs (See attached)
 - Click to create a new post of your post type
 - Click to upload/insert an image using the "add an image" link
 - Note that the media uploader does not have a gallery tab (Screenshot 1)
 - Switch to "Browser Uploader" rather than flash
 - Browse for a file, and upload
 - The media uploader is re-loaded, but this time the Gallery tab shows.
 (Screenshot 2). media_upload_tabs is not being called.

 Uploading media using the flash uploader doesn't have this problem
 (Probably because the media upload is carried out via an in-page ajax
 replacement rather than reloading the whole uploader.)

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


More information about the wp-trac mailing list