Opened 12 years ago
Closed 12 years ago
#22764 closed defect (bug) (fixed)
Taxonomy column on Media Library page is always empty.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Media | Keywords: | has-patch commit |
Focuses: | Cc: |
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
@
12 years ago
- Milestone changed from Awaiting Review to 3.5
- Version set to 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
@
12 years ago
Correct nacin
For reference see how the same functionality work for the
posts page.
Note: See
TracTickets for help on using
tickets.
One-line fix, changes the "if" to an "elseif" as it should be.