[wp-trac] [WordPress Trac] #41969: Ensure Gallery widget is styled properly across widget areas in bundled themes

WordPress Trac noreply at wordpress.org
Mon Sep 25 06:55:13 UTC 2017


#41969: Ensure Gallery widget is styled properly across widget areas in bundled
themes
---------------------------+-----------------
 Reporter:  westonruter    |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  high           |  Milestone:  4.9
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------
 The Gallery widget (#41914) allows for image galleries to be added to
 widget areas. Many themes may not have styles in them that expect
 galleries to appear in a widget context, since previously galleries would
 have only appeared in post content. As noted in §Default Themes Updates
 for [https://make.wordpress.org/core/2017/05/26/media-widgets-for-images-
 video-and-audio/ Media Widgets for Images, Video, and Audio]:

 > Themes that add custom styles to the MediaElement.js player (namely
 Twenty Thirteen and Twenty Fourteen) were updated from just styling it
 within syndicated content, to also include instances within widgets. Most
 themes don’t restrict styles for captioned images or media players to just
 post content, that is, limit CSS selectors to classes output by
 post_class(). If your theme does, make sure to either remove that
 constraint or include a .widget selector.

 In the same way for the Gallery widget, we need to make sure that all of
 the core themes are compatible. Gallery widgets need to be tested in all
 core themes and in each of their widget areas, while also changing
 settings like the number of columns and the image size, in order to check
 for the variations.

 Once the core themes are updated then the changes will may be instructive
 for theme authors to make similar changes in their themes.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41969>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list