#16732 closed defect (bug) (invalid)
media_upload_tabs filter not called for non-async upload
| Reported by: | leewillis77 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 3.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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.)
Attachments (3)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Example filter