Changeset 17478
- Timestamp:
- 02/22/2011 08:23:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/functions.php
r17212 r17478 304 304 return preg_replace( "#<style type='text/css'>(.*?)</style>#s", '', $css ); 305 305 } 306 // Backwards compatibility with WordPress 3.0. 307 if ( version_compare( $GLOBALS['wp_version'], '3.1', '<' ) ) 308 add_filter( 'gallery_style', 'twentyten_remove_gallery_css' ); 306 309 307 310 if ( ! function_exists( 'twentyten_comment' ) ) : … … 443 446 * To override this in a child theme, remove the filter and optionally add your own 444 447 * function tied to the widgets_init action hook. 448 * 449 * This function uses a filter (show_recent_comments_widget_style) new in WordPress 3.1 450 * to remove the default style. Using Twenty Ten 1.2 in WordPress 3.0 will show the styles, 451 * but they won't have any effect on the widget in default Twenty Ten styling. 445 452 * 446 453 * @since Twenty Ten 1.0
Note: See TracChangeset
for help on using the changeset viewer.