Changeset 13552
- Timestamp:
- 03/02/2010 06:08:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/functions.php
r13441 r13552 140 140 // Remove inline styles on gallery shortcode 141 141 if ( ! function_exists( 'twentyten_remove_gallery_css' ) ) : 142 function twentyten_remove_gallery_css( ) {143 return "\t\t<div class='gallery'>\n\t\t";142 function twentyten_remove_gallery_css( $css ) { 143 return preg_replace( "#<style type='text/css'>(.*?)</style>#s", '', $css ); 144 144 } 145 145 endif;
Note: See TracChangeset
for help on using the changeset viewer.