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

git-svn-id: https://develop.svn.wordpress.org/trunk@16864 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-10 19:05:50 +00:00
parent 62f76f6efa
commit 63357b507a
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}>";
}