Make WordPress Core

Changeset 25049


Ignore:
Timestamp:
08/17/2013 09:29:52 AM (12 years ago)
Author:
ocean90
Message:

Flush the cache in Recent Comments widget on edit_comment. props pento, fixes #24779.

File:
1 edited

Legend:

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

    r24504 r25049  
    644644
    645645        add_action( 'comment_post', array($this, 'flush_widget_cache') );
     646        add_action( 'edit_comment', array($this, 'flush_widget_cache') );
    646647        add_action( 'transition_comment_status', array($this, 'flush_widget_cache') );
    647648    }
Note: See TracChangeset for help on using the changeset viewer.