[wp-trac] [WordPress Trac] #32417: Add new core media widget
WordPress Trac
noreply at wordpress.org
Mon Sep 25 06:27:34 UTC 2017
#32417: Add new core media widget
-------------------------------------------------+-------------------------
Reporter: melchoyce | Owner: melchoyce
Type: feature request | Status: closed
Priority: normal | Milestone: 4.8
Component: Widgets | Version: 4.3
Severity: normal | Resolution: fixed
Keywords: needs-unit-tests has-patch ux- | Focuses: ui,
feedback needs-dev-note | administration
-------------------------------------------------+-------------------------
Comment (by westonruter):
In [changeset:"41590"]:
{{{
#!CommitTicketReference repository="" revision="41590"
Widgets: Introduce Gallery widget for displaying image galleries.
* Galleries are managed in the widget in the same way they are managed in
the post editor, both using the media manager.
* Gallery widget is merged from the Core Media Widgets v0.2.0 feature
plugin and it extends `WP_Widget_Media` in the same way as is done for
image, audio, and video widgets.
* Model syncing logic is updated to support booleans and arrays (of
integers).
* Placeholder areas in media widgets are now clickable shortcuts for
selecting media.
* Image widget placeholder is updated to match gallery widget where
clicking preview is shortcut for editing media.
Props westonruter, joemcgill, timmydcrawford, m1tk00, obenland, melchoyce.
See #32417.
Fixes #41914.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32417#comment:170>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list