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

WordPress Trac noreply at wordpress.org
Sat Apr 16 19:41:01 UTC 2016


#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 celloexpressions):

 I feel like even if we add rich editing to the text widget, media should
 remain a distinct thing. If we think about widgets like "content blocks",
 which they really are in a lot of ways, introducing all of the major
 functionality into one type of widget will likely go too far into the
 direction of using a single widget for everything, and then being
 disappointed that you need to split than content into another widget to
 add something from another widget somewhere in the middle of it.

 Widgets are designed to be modular, so we should keep their uses distinct.
 A media widget is a much simpler concept than trying to add media
 capabilities to the text widget. I'd essentially like to see
 `WP_Customize_Media_Control` as a widget, and that code could probably be
 adapted pretty easily especially if the JS-templated preview can be
 carried over (although it would be done in PHP for the front end I
 suppose).

 Aside: I'd also like to see an embed widget that does oembeds, rather than
 putting that functionality into the text widget.

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


More information about the wp-trac mailing list