[wp-trac] [WordPress Trac] #28053: Fields with same name added to new media modal using 'attachment_fields_to_edit' do not pass as an array when saving.

WordPress Trac noreply at wordpress.org
Tue Aug 11 19:14:30 UTC 2015


#28053: Fields with same name added to new media modal using
'attachment_fields_to_edit' do not pass as an array when saving.
-------------------------------+-----------------------------------------
 Reporter:  husobj             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  3.5
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  javascript, administration
-------------------------------+-----------------------------------------

Comment (by LindsayBSC):

 This is my boilerplate code used that will replicate the problem with
 multiple field values being saved "one at a time" versus all in one shot.

 https://gist.github.com/Lindsayanng/dee0488120d436e5b43b

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28053#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list