[wp-trac] [WordPress Trac] #20765: get_attachment_fields_to_edit() returns term->name rather than term->slug, causing conflicts between terms

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 18 17:34:02 UTC 2012


#20765: get_attachment_fields_to_edit() returns term->name rather than term->slug,
causing conflicts between terms
------------------------------+---------------------
 Reporter:  eddiemoya         |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Media             |     Version:  3.3.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21889]:
 {{{
 #!CommitTicketReference repository="" revision="21889"
 Return term slugs rather than term names in attachment_fields_to_edit() as
 that is what we are dealing with. props eddiemoya, fixes #20765.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20765#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list