[wp-trac] [WordPress Trac] #33981: Default Captions Should Use max-width

WordPress Trac noreply at wordpress.org
Wed Oct 4 02:49:21 UTC 2017


#33981: Default Captions Should Use max-width
---------------------------------------------+------------------------
 Reporter:  Howdy_McGee                      |       Owner:  joemcgill
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9
Component:  Media                            |     Version:  4.3.1
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  ui
---------------------------------------------+------------------------
Changes (by joemcgill):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41724"]:
 {{{
 #!CommitTicketReference repository="" revision="41724"
 Media: Use max-width for default captions.

 This alters the HTML output of the image caption shortcode to use
 `max-width` instead of `width` to improve compatibility with
 flexible layouts.

 Props aaronrutley, desrosj.
 Fixes #33981.
 }}}

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


More information about the wp-trac mailing list