[wp-trac] [WordPress Trac] #30201: img_caption_shortcode_width should support percentage widths

WordPress Trac noreply at wordpress.org
Mon Jan 5 22:56:36 UTC 2015


#30201: img_caption_shortcode_width should support percentage widths
-------------------------------------------------+-------------------------
 Reporter:  danielbachhuber                      |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Media                                |  Release
 Severity:  normal                               |     Version:
 Keywords:  good-first-bug has-patch needs-      |  Resolution:
  testing close                                  |     Focuses:
-------------------------------------------------+-------------------------

Comment (by williampatton):

 Replying to [comment:10 azaozz]:

 I don't think that anyone is suggesting a default percentage width - more
 that they would like the option of setting a percentage if the usage
 called for it. The default should still be pixel based as defined by the
 theme image sizes.

 Also I agree that percentage widths don't have many good usage cases
 unless the theme specifies a min-width/max-width but don't think we should
 totally disregard this idea because of that. That being said your the one
 here with most experience of developing WP so you're probably are one in
 the best position to make that decision :p

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


More information about the wp-trac mailing list