Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r11890 r11529  
    592592                return $content;
    593593
    594         if ( $id ) $id = 'id="' . esc_attr($id) . '" ';
    595 
    596         return '<div ' . $id . 'class="wp-caption ' . esc_attr($align) . '" style="width: ' . (10 + (int) $width) . 'px">'
     594        if ( $id ) $id = 'id="' . $id . '" ';
     595
     596        return '<div ' . $id . 'class="wp-caption ' . $align . '" style="width: ' . (10 + (int) $width) . 'px">'
    597597        . do_shortcode( $content ) . '<p class="wp-caption-text">' . $caption . '</p></div>';
    598598}
Note: See TracChangeset for help on using the changeset viewer.