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:
parent
3fa8398525
commit
951549bf93
|
@ -854,7 +854,7 @@ function gallery_shortcode($attr) {
|
||||||
</{$icontag}>";
|
</{$icontag}>";
|
||||||
if ( $captiontag && trim($attachment->post_excerpt) ) {
|
if ( $captiontag && trim($attachment->post_excerpt) ) {
|
||||||
$output .= "
|
$output .= "
|
||||||
<{$captiontag} class='gallery-caption'>
|
<{$captiontag} class='wp-caption-text gallery-caption'>
|
||||||
" . wptexturize($attachment->post_excerpt) . "
|
" . wptexturize($attachment->post_excerpt) . "
|
||||||
</{$captiontag}>";
|
</{$captiontag}>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue