[wp-trac] [WordPress Trac] #43078: Caption Max-width set incorrectly

WordPress Trac noreply at wordpress.org
Fri Jan 12 15:57:33 UTC 2018


#43078: Caption Max-width set incorrectly
--------------------------+------------------------------
 Reporter:  jkorchok      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by joyously):

 * component:  General => Media


Comment:

 When I look at the history of the `img_caption_shortcode` function, it has
 always used some form of `(int) $width` for the sanitization of the width,
 so I don't see how a percentage would ever have worked.

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


More information about the wp-trac mailing list