[wp-trac] [WordPress Trac] #49601: layout width bugfix for img_caption_shortcode()

WordPress Trac noreply at wordpress.org
Sun Mar 8 19:23:41 UTC 2020


#49601: layout width bugfix for img_caption_shortcode()
--------------------------+------------------------
 Reporter:  joelhardi     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------
Changes (by ocean90):

 * keywords:  has-patch dev-feedback => has-patch
 * status:  new => closed
 * version:  trunk =>
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Hello @joelhardi, thanks for the ticket.

 In 4.9 the inline style was changed to use `max-width` via [41724] for
 #33981. But it had to be reverted in [42837] due to incompatibility with
 existing themes, see #43123.

 You can find a possible workaround in
 [https://core.trac.wordpress.org/ticket/43123#comment:17 this comment].

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


More information about the wp-trac mailing list