[wp-trac] [WordPress Trac] #32417: Add new core widget: image widget

WordPress Trac noreply at wordpress.org
Wed Oct 14 02:28:50 UTC 2015


#32417: Add new core widget: image widget
----------------------------------------+---------------------------------
 Reporter:  melchoyce                   |       Owner:  wonderboymusic
     Type:  feature request             |      Status:  assigned
 Priority:  normal                      |   Milestone:  4.4
Component:  Widgets                     |     Version:  4.3
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:  ui, administration
----------------------------------------+---------------------------------

Comment (by Fab1en):

 In [attachment:32417.4.patch], I fixed the JS errors and make the widget
 actually display an audio or a video player on the front when such media
 is selected (previously, only the preview was working).

 Here are the issues I see so far:
 1. If you select a video, and then click again on "Select media" and
 choose an image, both image and video appear on the preview. Saving the
 widget solves the issue.
 1. Captions does not work (do we really need it here ?).
 1. Galleries and playlists do not work. We perhaps do not need to make it
 work here (its a "single media" widget), but we should at least remove the
 "Create Gallery" and "Create Playlist" menus in the media modal.
 1. Change "Insert into Post" button text in the media modal to something
 more meaningful
 1. When selecting an audio or video attachment, the "Embed or link"
 attachment display setting has no effect, whereas is has effect in case of
 an image.
 1. In the admin preview, a click on the image displays the media modal,
 which is OK. But this behavior only works the first time.

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


More information about the wp-trac mailing list