[wp-trac] [WordPress Trac] #19645: Image caption gets removed when editing image dimensions.

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 22 20:42:04 UTC 2011


#19645: Image caption gets removed when editing image dimensions.
------------------------------+------------------------------
 Reporter:  JanJaapKempenaar  |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Editor            |     Version:  3.3
 Severity:  normal            |  Resolution:
 Keywords:  dev-feedback      |
------------------------------+------------------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)
 * keywords:   => dev-feedback


Comment:

 This is intentional, but I don't understand why.  Perhaps another dev can
 shed some light on this.

 editimage.dev.js line 366
 {{{
 if ( f.img_cap.value != '' && f.width.value != '' ) {
         do_caption = 1;
         img_class = img_class.replace( /align[^ "']+\s?/gi, '' );
 }
 }}}

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


More information about the wp-trac mailing list