WordPress.org

Make WordPress Core

Changeset 11718


Ignore:
Timestamp:
07/16/09 22:31:22 (5 years ago)
Author:
azaozz
Message:

Flush the cache in Recent Comments widget on transition_comment_status, props josephscott, fixes #10427

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r11707 r11718  
    610610 
    611611        add_action( 'comment_post', array(&$this, 'flush_widget_cache') ); 
    612         add_action( 'wp_set_comment_status', array(&$this, 'flush_widget_cache') ); 
     612        add_action( 'transition_comment_status', array(&$this, 'flush_widget_cache') ); 
    613613    } 
    614614 
Note: See TracChangeset for help on using the changeset viewer.