get_attachment_fields_to_edit() returns term->name rather than term->slug, causing conflicts between terms
|Reported by:||eddiemoya||Owned by:||nacin|
When adding support for taxonomy to attachments, the media page will automatically add a simple text field for entering comma delimited list of terms. This works fine, and appears to handle slugs as well as names entered.
However, once saved and re-opened, the attachment field will output only term names. This leads to conflicts in situations where users have entered two slugs for different terms which share the same name.
This field should be returning slugs or ID's, preferably slugs as they are more human-readable, and unlike the category metaboxes this depends on manual entry.
Change History (9)
4 years ago
- Milestone changed from Awaiting Review to 3.5
- Version changed from 3.4.1 to 3.3.2