Changeset 13977
- Timestamp:
- 04/03/2010 11:33:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/functions.php
r13936 r13977 431 431 } 432 432 add_action( 'init', 'twentyten_widgets_init' ); 433 434 /** 435 * Removes the default styles that are packaged with the Recent Comments widget. 436 */ 437 function twentyten_remove_recent_comments_style() { 438 global $wp_widget_factory; 439 remove_action( 'wp_head', array( $wp_widget_factory->widgets['WP_Widget_Recent_Comments'], 'recent_comments_style' ) ); 440 } 441 add_action( 'widgets_init', 'twentyten_remove_recent_comments_style' );
Note: See TracChangeset
for help on using the changeset viewer.