Changes from trunk/wp-includes/media.php at r11529 to branches/2.8/wp-includes/media.php at r11890
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-includes/media.php
r11529 r11890 592 592 return $content; 593 593 594 if ( $id ) $id = 'id="' . $id. '" ';595 596 return '<div ' . $id . 'class="wp-caption ' . $align. '" style="width: ' . (10 + (int) $width) . 'px">'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">' 597 597 . do_shortcode( $content ) . '<p class="wp-caption-text">' . $caption . '</p></div>'; 598 598 }
Note: See TracChangeset
for help on using the changeset viewer.