[wp-trac] [WordPress Trac] #22459: Inserting captionless and captioned image together causes shortcode to appear in visual mode

WordPress Trac noreply at wordpress.org
Sat Nov 17 14:36:09 UTC 2012


#22459: Inserting captionless and captioned image together causes shortcode to
appear in visual mode
--------------------------+--------------------
 Reporter:  trepmal       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by nofearinc):

 It seems like it's generating the HTML in media-upload.js, around line
 368-372, where the code is directly inserted inside of the Visual editor
 and not evaluated or hidden (and visible only in the Text version).

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


More information about the wp-trac mailing list