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

WordPress Trac noreply at wordpress.org
Fri Mar 16 20:18:51 UTC 2018


#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
---------------------------------------------+------------------------

Comment (by joemcgill):

 In [changeset:"42838"]:
 {{{
 #!CommitTicketReference repository="" revision="42838"
 Revert max-width styles on caption shortcodes.

 This is a partial revert of [41724], so image captions include an
 inline `width` style instead of `max-width`.

 This returns the caption shortcode to the pre-4.9.0 behavior, while
 retaining the extra unit test coverage added in [41724].

 Fixes #43123. See #33981.

 Merges [42837] to the 4.9 branch.
 }}}

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


More information about the wp-trac mailing list