[wp-trac] [WordPress Trac] #14411: Add wp-caption-text to caption class for Gallery Shortcode

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 24 19:28:20 UTC 2010


#14411: Add wp-caption-text to caption class for Gallery Shortcode
-------------------------+--------------------------------------------------
 Reporter:  chipbennett  |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Gallery      |     Version:  3.0            
 Severity:  normal       |    Keywords:                 
-------------------------+--------------------------------------------------
 wp-includes\media.php - line 855

 Replace `<{$captiontag} class='gallery-caption'>`

 with `<{$captiontag} class='gallery-caption wp-caption-text'>`

 Adding wp-caption-text to the class declaration for Gallery image captions
 will facilitate styling media-manager-inserted images consistently,
 without having to define multiple style declarations. Since existing
 Gallery shortcode users will have already defined gallery-caption, this
 declaration should remain.

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


More information about the wp-trac mailing list