[wp-trac] [WordPress Trac] #31029: Allow 0 columns in gallery settings

WordPress Trac noreply at wordpress.org
Thu Jan 22 14:46:13 UTC 2015


#31029: Allow 0 columns in gallery settings
--------------------------+------------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  ui, javascript
--------------------------+------------------------------

Comment (by afercia):

 Replying to [comment:1 kraftner]:
 > In theory I think this is a great idea...
 >
 > ... if there weren't a lot of themes that will probably not handle that
 situation well.

 The worst possible scenario is that the gallery will look ugly and editors
 will soon revert that setting to a 1-9 value.
 Having those values generated by a loop in a template (see media-
 template.php) without, as far as I can tell, any chance to filter them,
 doesn't look right to me.

 Responsiveness is important, and with the advent of CSS Flexbox it would
 probably be a nice move to allow a "no columns" value. About the upper
 limit, I'm open to different thoughts :)

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


More information about the wp-trac mailing list