[wp-trac] [WordPress Trac] #43078: Caption Max-width set incorrectly
WordPress Trac
noreply at wordpress.org
Fri Jan 12 15:15:41 UTC 2018
#43078: Caption Max-width set incorrectly
--------------------------+-----------------------------
Reporter: jkorchok | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
After upgrading to 4.9.1, caption widths expressed in percentages are
converted to max-width in pixels. A caption setting of width="100%" is
converted to max-width="100px" in the page source. Below is the effect in
both my custom theme and in the Twenty Fifteen theme.
Post text: [caption id="attachment_864" align="alignnone" width="100%"]
Page Source: <figure id="attachment_864" style="max-width: 100px" class
="wp-caption alignnone">
[[Image(http://www.brandwares.com/images/MyTheme.png)]]
[[Image(http://www.brandwares.com/images/TwentyFifteen.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43078>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list