updated plugin W3 Total Cache
version 2.6.1
This commit is contained in:
@ -17,6 +17,12 @@ class Generic_AdminActions_Flush {
|
||||
*/
|
||||
function w3tc_flush_all() {
|
||||
w3tc_flush_all( array( 'ui_action' => 'flush_button' ) );
|
||||
|
||||
$state_note = Dispatcher::config_state_note();
|
||||
$state_note->set( 'common.show_note.flush_statics_needed', false );
|
||||
$state_note->set( 'common.show_note.flush_posts_needed', false );
|
||||
$state_note->set( 'common.show_note.plugins_updated', false );
|
||||
|
||||
$this->_redirect_after_flush( 'flush_all' );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user