[wp-trac] [WordPress Trac] #32417: Add new core media widget
WordPress Trac
noreply at wordpress.org
Tue Dec 8 08:15:12 UTC 2015
#32417: Add new core media widget
----------------------------------------+---------------------------------
Reporter: melchoyce | Owner: wonderboymusic
Type: feature request | Status: assigned
Priority: normal | Milestone: Future Release
Component: Widgets | Version: 4.3
Severity: normal | Resolution:
Keywords: needs-unit-tests has-patch | Focuses: ui, administration
----------------------------------------+---------------------------------
Comment (by Fab1en):
OK, so from a technical point of view, we have to decide if the media
widget allows to select more than one media (ie playlist and gallery).
[attachment:32417.5.patch The current patch] only allows a single media
selection (image, audio or video).
In the case of multi-media, do we store the resulting shortcode in the
widget, or an array of attachment ids ?
Storing the shortcode would allow to manage options easily (columns, image
links, ...) whereas storing an array of ids would allow developers to
customize the widget rendering a bit further.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32417#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list