[wp-trac] [WordPress Trac] #22720: Insert Media produces inconsistent results (depending on captions)

WordPress Trac noreply at wordpress.org
Tue Dec 4 09:41:33 UTC 2012


#22720: Insert Media produces inconsistent results (depending on captions)
--------------------------+------------------------------
 Reporter:  tar.gz        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by nacin):

 > Every image inserted through the Insert Media method should be nested in
 the same way (inside a div.wp-caption, not in a p), so the theme author
 can achieve a consistent look.

 I don't think this is a regression, and is not something we will deal with
 for 3.5.

 > There should be a line return between each item, so a blogger using the
 text mode can easily insert text between the images.

 Yes, I agree with that. There is an items.join('') before sending a bunch
 of items to the editor. These should be joined by \n or \n\n instead.

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


More information about the wp-trac mailing list