From 63357b507a6d520f98251ef02335459ff64025ab Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 10 Dec 2010 19:05:50 +0000 Subject: [PATCH] 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 --- wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index afda958868..ac00490119 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -854,7 +854,7 @@ function gallery_shortcode($attr) { "; if ( $captiontag && trim($attachment->post_excerpt) ) { $output .= " - <{$captiontag} class='gallery-caption'> + <{$captiontag} class='wp-caption-text gallery-caption'> " . wptexturize($attachment->post_excerpt) . " "; }