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

WordPress Trac noreply at wordpress.org
Fri Oct 2 23:04:49 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 moonomo):

 Replying to [comment:47 wonderboymusic]:
 > the only "hard" part is previewing the media in the widget pane,
 everything else is pretty basic

 On 'SuperPack' plugin there's 'About' widget which do something similar.
 Here's the JS code which prompt media modal and adds images on the Widget:

 http://plugins.svn.wordpress.org/superpack/tags/0.2.1/assets/js/functions.js

 And the PHP:
 http://plugins.svn.wordpress.org/superpack/tags/0.2.1/inc/widgets/widget-
 about.php

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


More information about the wp-trac mailing list