Opened 14 years ago
Closed 14 years ago
#22764 closed defect (bug) (fixed)
Taxonomy column on Media Library page is always empty.
| Reported by: | eddiemoya | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
When a taxonomy is enabled for attachments in 3.5, a column for that taxonomy is automatically added to the table on the Media Library. However that column fails to ever populate with any of the terms assigned to the attachment.
Attachments (1)
Change History (6)
#1
@
14 years ago
- Milestone Awaiting Review → 3.5
- Version → trunk
Great catch.
It looks like this only breaks categories added to attachments, not any taxonomy. (As the second if/elseif/else would set $taxonomy to false, overriding $taxonomy = 'category'.)
#2
@
14 years ago
Correct nacin
For reference see how the same functionality work for the
posts page.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
One-line fix, changes the "if" to an "elseif" as it should be.