[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
Sun Sep 2 18:24:32 UTC 2012


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

 * version:  3.4.1 => 3.3.2
 * milestone:  Awaiting Review => 3.5


Comment:

 Version number indicates when the bug was initially introduced/reported.

 Reproduced with the steps from comment:2. The code was introduced in
 [6659].

 Considering backwards compatibility, would it make more sense to pass the
 whole `$terms` array in a separate key?

 Related: #21391

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


More information about the wp-trac mailing list