[wp-trac] [WordPress Trac] #8888: Can't insert image without caption (unless you erase attachment's post_excerpt field)

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 19 17:41:53 GMT 2009


#8888: Can't insert image without caption (unless you erase attachment's
post_excerpt field)
--------------------------+-------------------------------------------------
 Reporter:  Sam_a         |       Owner:  anonymous               
     Type:  defect (bug)  |      Status:  new                     
 Priority:  normal        |   Milestone:  2.7.1                   
Component:  General       |     Version:                          
 Severity:  normal        |    Keywords:  needs-patch media-upload
--------------------------+-------------------------------------------------
 In the "Add an image: Media Library" dialog, an image attachment with a
 non-empty ''Caption'' field is always inserted with a printed caption. If
 you clear the ''Caption'' field and click ''Insert into post'', the image
 is inserted with no printed caption (and no alternative text either) --
 but that permanently erases the attachment's excerpt.

 So I think we need 2 changes:

  * Authors should be able to choose whether to insert a printed caption
 without making permanent changes to the attachment's caption field (maybe
 via a checkbox that says, e.g., ☑ ''Print a caption beneath the image'');
 and
  * Images inserted without a printed caption should have alternative text
 from the ''Caption'' field

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8888>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list