WordPress.org

Make WordPress Core

Changeset 16864


Ignore:
Timestamp:
12/10/10 19:05:50 (4 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.