WordPress.org

Make WordPress Core

Ticket #10427: wp-includes--default-widgets.php.diff

File wp-includes--default-widgets.php.diff, 597 bytes (added by josephscott, 9 years ago)
  • wp-includes/default-widgets.php

     
    608608                if ( is_active_widget(false, false, $this->id_base) )
    609609                        add_action( 'wp_head', array(&$this, 'recent_comments_style') );
    610610
     611                add_action( 'transition_comment_status', array( &$this, 'flush_widget_cache' ) );
    611612                add_action( 'comment_post', array(&$this, 'flush_widget_cache') );
    612613                add_action( 'wp_set_comment_status', array(&$this, 'flush_widget_cache') );
    613614        }