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

WordPress Trac noreply at wordpress.org
Sat May 30 00:07:16 UTC 2015


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

Comment (by valendesigns):

 We need to decide on the best path moving forward before attempting
 patches, review of all the existing options above, and make a decision on
 which has the most viable codebase. I'll do a review personally in the
 next few days if time permits between Menu Customizer work, but everyone
 who is interested in seeing this become a real feature should do the same.
 We can always cherry pick from all of them.

 I'm attaching a list of what I expect the widget to do. Discussion around
 this list is encourage and I will update it as needed. All control media
 types need a mockup once we've landed on functionality. Even though this
 isn't a feature plugin, it will likely be developed in a similar way so be
 familiar with the [https://make.wordpress.org/core/handbook/how-the-
 release-cycle-works/features-as-plugins/#feature-plugin-checklist Feature
 Plugin Checklist] standards. I can setup a repo that has tools so
 automated unit testing and code standards can be done with Travis CI.

 I'll edit and mark items complete as we go. If I've missed something or we
 disagree on implementation please let me know.

 '''Expectations'''
 * Control supports:
   * Image - This should be displayed.
   * Gallery - How should this be displayed in the widget, or should it
 even show at all?
   * Audio - Should audio be playable and responsive?
   * Video - Should video be playable and responsive?
 * Mockup the real UI for each control
 * Must work in the Customizer
 * Has PHP & JS unit tests
 * Output is extensible with filters, at least at a basic level, so 3rd-
 party players and galleries can override the display

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


More information about the wp-trac mailing list