[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
Wed Aug 17 19:46:20 UTC 2016
#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 has- | Focuses: javascript,
patch | administration
-------------------------------------+-------------------------------------
Comment (by drosendo):
Replying to [comment:15 LindsayBSC]:
> I was asking why you felt the patch needed rewriting - which, even
though you said you didn't want to discuss why, you actually did explain.
>
> So you feel your patch is more readable than the provided previous
patch? I am asking for my own reference to understand if/when/how my code
could be improved.
Hi,
Actually I now recall why I did my patch, I believe your patch doesn't
include multiple select fields, and only handles checkboxes.
Am I incorrect?
Thanks,
David
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28053#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list