[wp-trac] [WordPress Trac] #25700: Images with Captions

WordPress Trac noreply at wordpress.org
Fri Oct 25 18:38:07 UTC 2013


#25700: Images with Captions
--------------------------+------------------------------
 Reporter:  WPRanger      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  3.7
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by LucP):

 The error is caused by the minification of the editor_plugin_src.js file:

 This code (which returns a perfectly normal caption-box:

 {{{

 <dl id="'+id+'" class="wp-caption '+cls+'" style="width: '+( 10 +
 parseInt(w) )+'px">

 }}}

 gets turned into this when it's minified:

 {{{

 <dl id="'+d+'" class="wp-caption '+e+'" style="width:
 10'+parseInt(f)+'px">

 }}}

 I'd love to create a patch for this, but I have no idea where the
 minification of this file is taking place?

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


More information about the wp-trac mailing list