Changeset 16522 for trunk/wp-content/themes/twentyten/functions.php
- Timestamp:
- 11/21/2010 01:55:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/functions.php
r16480 r16522 431 431 */ 432 432 function twentyten_remove_recent_comments_style() { 433 global $wp_widget_factory; 434 remove_action( 'wp_head', array( $wp_widget_factory->widgets['WP_Widget_Recent_Comments'], 'recent_comments_style' ) ); 433 add_filter( 'show_recent_comments_widget_style', '__return_false' ); 435 434 } 436 435 add_action( 'widgets_init', 'twentyten_remove_recent_comments_style' );
Note: See TracChangeset
for help on using the changeset viewer.