[wp-trac] [WordPress Trac] #14380: Caption shortcode inserts inline style forcing width of containing div

WordPress Trac noreply at wordpress.org
Tue Jan 22 06:28:48 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  |
------------------------------------+-----------------------------
Changes (by iandunn):

 * keywords:  3.2-early dev-feedback needs-refresh => 3.2-early dev-feedback


Comment:

 I tried to get it working with CSS alone awhile back and couldn't, so I
 agree with smerriman that the inline width is required. I added a patch
 that creates a new ''wp-caption-width'' filter that themes can use to
 modify the width instead.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14380#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list