[wp-trac] [WordPress Trac] #43123: Default captions should NOT use max-width

WordPress Trac noreply at wordpress.org
Fri Mar 16 20:06:43 UTC 2018


#43123: Default captions should NOT use max-width
---------------------------------------------+------------------------
 Reporter:  smerriman                        |       Owner:  joemcgill
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9.5
Component:  Media                            |     Version:  4.9
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+------------------------
Changes (by joemcgill):

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


Comment:

 In [changeset:"42837"]:
 {{{
 #!CommitTicketReference repository="" revision="42837"
 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.
 }}}

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


More information about the wp-trac mailing list