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

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 17 06:21:58 UTC 2011


#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:  has-patch needs-testing  |
-------------------------------------+-----------------------------
Changes (by solarissmoke):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 First pass at a fix is attached.

 Taking away the width property causes "alignnone" captions to fill the
 whole width of the container. I have fixed this by modifying the style in
 TwentyTen, but this may have unintended consequences, so needs to be
 tested.

 I realised while doing this that SCRIPT_DEBUG does load .dev scripts for
 tinyMCE plugins - you have to switch them round manually, which is a bit
 messy. I might open another ticket to see if this can be changed.

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


More information about the wp-trac mailing list