Ticket #9022: 9022.patch
File 9022.patch, 568 bytes (added by , 15 years ago) |
---|
-
wp-includes/media.php
578 578 if ( $id ) $id = 'id="' . $id . '" '; 579 579 580 580 return '<div ' . $id . 'class="wp-caption ' . $align . '" style="width: ' . (10 + (int) $width) . 'px">' 581 . $content. '<p class="wp-caption-text">' . $caption . '</p></div>';581 . do_shortcode( $content ) . '<p class="wp-caption-text">' . $caption . '</p></div>'; 582 582 } 583 583 584 584 add_shortcode('gallery', 'gallery_shortcode');