[wp-trac] [WordPress Trac] #22868: broken compat attachment attributes save

WordPress Trac noreply at wordpress.org
Sat Jan 5 01:55:34 UTC 2013


#22868: broken compat attachment attributes save
--------------------------+-----------------------
 Reporter:  geminorum     |       Owner:  nacin
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  3.5.1
Component:  Media         |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------
Changes (by nacin):

 * keywords:   => has-patch


Comment:

 The problem with attachments[$attachment_id] is it must come at the front,
 and then we must also turn a zero-length string into an empty array in the
 ajax handler (or in the JS).

 [attachment:22868.diff] just adds a hidden menu_order field, which was
 always sent in 3.4 anyway.

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


More information about the wp-trac mailing list