WordPress.org

Make WordPress Core

Ticket #14411: media.php.diff

File media.php.diff, 489 bytes (added by chipbennett, 8 years ago)

Diff created from root, rather than from wp-includes

  • wp-includes/media.php

     
    852852                        </{$icontag}>";
    853853                if ( $captiontag && trim($attachment->post_excerpt) ) {
    854854                        $output .= "
    855                                 <{$captiontag} class='gallery-caption'>
     855                                <{$captiontag} class='wp-caption-text gallery-caption'>
    856856                                " . wptexturize($attachment->post_excerpt) . "
    857857                                </{$captiontag}>";
    858858                }