Make WordPress Core


Ignore:
Timestamp:
12/10/2010 07:05:50 PM (14 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r16740 r16864  
    855855        if ( $captiontag && trim($attachment->post_excerpt) ) {
    856856            $output .= "
    857                 <{$captiontag} class='gallery-caption'>
     857                <{$captiontag} class='wp-caption-text gallery-caption'>
    858858                " . wptexturize($attachment->post_excerpt) . "
    859859                </{$captiontag}>";
Note: See TracChangeset for help on using the changeset viewer.