﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
20765	get_attachment_fields_to_edit() returns term->name rather than term->slug, causing conflicts between terms	eddiemoya	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.

[http://wordpress.org/support/topic/media-categories-2-not-saving-correctly-when-two-categories-with-same-name  This bug was found to be the cause of a bug reported on one of my plugins]"	defect (bug)	closed	normal	3.5	Media	3.3.2	normal	fixed	has-patch commit	
