wp-caption-text class for the gallery shortcode caption. props chipbennett, fixes #14411.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-10 19:05:50 +00:00
parent 3fa8398525
commit 951549bf93
1 changed files with 1 additions and 1 deletions

View File

@ -854,7 +854,7 @@ function gallery_shortcode($attr) {
</{$icontag}>";
if ( $captiontag && trim($attachment->post_excerpt) ) {
$output .= "
<{$captiontag} class='gallery-caption'>
<{$captiontag} class='wp-caption-text gallery-caption'>
" . wptexturize($attachment->post_excerpt) . "
</{$captiontag}>";
}