Changeset 22118 for trunk/wp-includes/default-widgets.php
- Timestamp:
- 10/04/2012 08:00:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r21978 r22118 537 537 $this->alt_option_name = 'widget_recent_entries'; 538 538 539 add_action( 'save_post', array( &$this, 'flush_widget_cache') );540 add_action( 'deleted_post', array( &$this, 'flush_widget_cache') );541 add_action( 'switch_theme', array( &$this, 'flush_widget_cache') );539 add_action( 'save_post', array($this, 'flush_widget_cache') ); 540 add_action( 'deleted_post', array($this, 'flush_widget_cache') ); 541 add_action( 'switch_theme', array($this, 'flush_widget_cache') ); 542 542 } 543 543 … … 638 638 639 639 if ( is_active_widget(false, false, $this->id_base) ) 640 add_action( 'wp_head', array( &$this, 'recent_comments_style') );641 642 add_action( 'comment_post', array( &$this, 'flush_widget_cache') );643 add_action( 'transition_comment_status', array( &$this, 'flush_widget_cache') );640 add_action( 'wp_head', array($this, 'recent_comments_style') ); 641 642 add_action( 'comment_post', array($this, 'flush_widget_cache') ); 643 add_action( 'transition_comment_status', array($this, 'flush_widget_cache') ); 644 644 } 645 645
Note: See TracChangeset
for help on using the changeset viewer.