[wp-trac] [WordPress Trac] #14380: Caption shortcode inserts inline style forcing width of containing div
WordPress Trac
noreply at wordpress.org
Tue Jan 22 17:21:20 UTC 2013
#14380: Caption shortcode inserts inline style forcing width of containing div
------------------------------------+-----------------------------
Reporter: iandunn | Owner: nacin
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: Shortcodes | Version:
Severity: minor | Resolution:
Keywords: 3.2-early dev-feedback |
------------------------------------+-----------------------------
Comment (by iandunn):
It sounds like the main obstacle brought up in #17044 was breaking
backwards compatibility. The latest patch here just adds a filter around
the width, so it won't break anything by default. The filter still allows
theme devs to change the width to exactly what they want (including the
exact size of the image, without padding), without having to rebuild the
entire shortcode output, so it's much more convenient.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14380#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list