#22578 closed defect (bug) (fixed)
'attachment_fields_to_edit' not fired from the new "Add media" modal
| Reported by: | Chouby | Owned by: | koopersmith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
in WP 3.5 RC1, if I directly upload file(s), the attachment details is displayed without fields created by 'attachment_fields_to_edit'
However, if I first go to the library, the fields are correctly displayed.
Attachments (1)
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)
Always render the attachment compat view, as it already handles the empty case.