installed plugin W3 Total Cache version 2.3.2

This commit is contained in:
2023-06-05 11:23:16 +00:00
committed by Gitium
parent d9b3c97e40
commit 51ea2ff21c
2730 changed files with 334913 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<?php
namespace W3TC;
class Extensions_AdminActions {
function w3tc_extensions_activate() {
$config = Dispatcher::config();
$extension = Util_Request::get_string( 'w3tc_extensions_activate' );
$ext = Extensions_Util::get_extension( $config, $extension );
if ( !is_null( $ext ) ) {
if ( Extensions_Util::activate_extension( $extension, $config ) ) {
Util_Admin::redirect_with_custom_messages2( array(
'notes' => array( sprintf(
__( 'Extension <strong>%s</strong> has been successfully activated.',
'w3-total-cache' ),
$ext['name']
) )
) );
return;
}
}
Util_Admin::redirect( array() );
}
}