updated plugin W3 Total Cache
version 2.7.0
This commit is contained in:
wp-content/plugins/w3-total-cache
BrowserCache_ConfigLabels.phpBrowserCache_Environment_Nginx.phpCacheFlush_Locally.phpCacheGroups_Plugin_Admin.phpCache_Memcached.phpCdn_BunnyCdn_Page_View.jsCdn_BunnyCdn_Widget.phpCdn_GoogleDrive_Page_View.jsCdn_Highwinds_Page_View.jsCdn_Highwinds_Widget.phpCdn_Highwinds_Widget_View.cssCdn_Highwinds_Widget_View.jsCdn_Highwinds_Widget_View.phpCdn_Highwinds_Widget_View_NotConfigured.phpCdn_LimeLight_Page_View.jsCdn_LimeLight_Popup.phpCdn_Plugin_Admin.phpCdn_RackSpaceCdn_Page_View.jsCdn_RackSpaceCloudFiles_Page_View.jsCdn_StackPath2_Page_View.jsCdn_StackPath2_Widget.phpCdn_StackPath2_Widget_View.cssCdn_StackPath2_Widget_View.jsCdn_StackPath2_Widget_View_Authorized.phpCdn_StackPath2_Widget_View_Unauthorized.phpCdn_StackPath_Page_View.jsCdn_StackPath_Widget.phpCdn_StackPath_Widget_View.cssCdn_StackPath_Widget_View.jsCdn_StackPath_Widget_View_Authorized.phpCdn_StackPath_Widget_View_Unauthorized.phpCdnfsd_BunnyCdn_Page_View.jsCdnfsd_CloudFront_Page_View.jsCdnfsd_Core.phpCdnfsd_LimeLight_Page_View.jsCdnfsd_StackPath2_Page_View.jsCdnfsd_StackPath_Page_View.jsConfigKeys.phpExtension_CloudFlare_Page_View.jsExtension_CloudFlare_Widget.phpExtension_ImageService_Widget.jsExtension_ImageService_Widget.phpExtension_ImageService_Widget_View.phpExtension_NewRelic_Popup_View.jsExtension_NewRelic_Widget.phpExtension_Swarmify_Plugin_Admin.phpExtension_Swarmify_Widget.phpExtension_Swarmify_Widget_View.cssExtension_Swarmify_Widget_View_NotConfigured.phpExtensions_Page.phpFeatureShowcase_Plugin_Admin.phpFeatureShowcase_Plugin_Admin_View.phpGeneric_GeneralPage_View_ShowEdge.jsGeneric_GeneralPage_View_ShowSupportUs.jsGeneric_Page_Dashboard_View.cssGeneric_Page_Install.phpGeneric_Plugin.phpGeneric_Plugin_Admin.phpGeneric_Plugin_WidgetForum.phpGeneric_Plugin_WidgetNews.phpGeneric_WidgetAccount.phpGeneric_WidgetAccount_View.phpGeneric_WidgetBoldGrid.phpGeneric_WidgetCommunity.phpGeneric_WidgetCommunity_View.phpGeneric_WidgetPartners.phpGeneric_WidgetPartners_View.phpGeneric_WidgetServices.phpGeneric_WidgetSettings.phpGeneric_WidgetSettings_View.phpGeneric_WidgetSpreadTheWord_Plugin.phpGeneric_WidgetStats.jsGeneric_WidgetStats.phpMinify_Core.phpMinify_GeneralPage_View_ShowHelp.jsMinify_MinifiedFileRequestHandler.phpMinify_Plugin_Admin.phpPageSpeed_Data.phpPageSpeed_Instructions.phpPageSpeed_Page.phpPageSpeed_Widget.phpPageSpeed_Widget_View.cssPageSpeed_Widget_View.jsPageSpeed_Widget_View_FromApi.phpRoot_Loader.phpUsageStatistics_Page.phpUsageStatistics_Plugin_Admin.phpUsageStatistics_Widget.phpUsageStatistics_Widget_View.jsUsageStatistics_Widget_View.phpUsageStatistics_Widget_View_Disabled.phpUserExperience_DeferScripts_Extension.phpUserExperience_DeferScripts_Page_View.phpUserExperience_GeneralPage_View.phpUserExperience_LazyLoad_Mutator.phpUserExperience_LazyLoad_Mutator_Unmutable.phpUserExperience_Plugin_Admin.phpUserExperience_Preload_Requests_Extension.phpUserExperience_Preload_Requests_Page_View.phpUserExperience_Remove_CssJs_Extension.phpUserExperience_Remove_CssJs_Mutator.phpUserExperience_Remove_CssJs_Page_View.jsUserExperience_Remove_CssJs_Page_View.phpUtil_Installed.phpUtil_PageSpeed.phpUtil_PageUrls.phpUtil_Ui.phpreadme.txt
inc
lightbox
options
lib
Minify
Minify
pub
css
img
a2.pngconvesio.pngdreamhost.pngimh.pngw3tc-stats-database-cache.pngw3tc-stats-object-cache.pngw3tc-stats-page-cache.pngw3tc-webp-converter.png
js
vendor
w3-total-cache-api.phpw3-total-cache.php@ -36,6 +36,9 @@ class Cdn_Plugin_Admin {
|
||||
}
|
||||
}
|
||||
|
||||
// Always show the Bunny CDN widget on dashboard.
|
||||
\add_action( 'admin_init_w3tc_dashboard', array( '\W3TC\Cdn_BunnyCdn_Widget', 'admin_init_w3tc_dashboard' ) );
|
||||
|
||||
// Attach to actions without firing class loading at all without need.
|
||||
switch ( $cdn_engine ) {
|
||||
case 'google_drive':
|
||||
@ -43,8 +46,6 @@ class Cdn_Plugin_Admin {
|
||||
break;
|
||||
case 'highwinds':
|
||||
\add_action( 'w3tc_ajax', array( '\W3TC\Cdn_Highwinds_Popup', 'w3tc_ajax' ) );
|
||||
\add_action( 'admin_init_w3tc_dashboard', array( '\W3TC\Cdn_Highwinds_Widget', 'admin_init_w3tc_dashboard' ) );
|
||||
\add_action( 'w3tc_ajax_cdn_highwinds_widgetdata', array( '\W3TC\Cdn_Highwinds_Widget', 'w3tc_ajax_cdn_highwinds_widgetdata' ) );
|
||||
\add_action( 'w3tc_settings_cdn_boxarea_configuration', array( '\W3TC\Cdn_Highwinds_Page', 'w3tc_settings_cdn_boxarea_configuration' ) );
|
||||
break;
|
||||
case 'limelight':
|
||||
@ -63,23 +64,17 @@ class Cdn_Plugin_Admin {
|
||||
case 'stackpath':
|
||||
\add_action( 'w3tc_ajax', array( '\W3TC\Cdn_StackPath_Popup', 'w3tc_ajax' ) );
|
||||
\add_action( 'w3tc_settings_cdn_boxarea_configuration', array( '\W3TC\Cdn_StackPath_Page', 'w3tc_settings_cdn_boxarea_configuration' ) );
|
||||
\add_action( 'admin_init_w3tc_dashboard', array( '\W3TC\Cdn_StackPath_Widget', 'admin_init_w3tc_dashboard' ) );
|
||||
\add_action( 'w3tc_ajax_cdn_stackpath_widgetdata', array( '\W3TC\Cdn_StackPath_Widget', 'w3tc_ajax_cdn_stackpath_widgetdata' ) );
|
||||
break;
|
||||
case 'stackpath2':
|
||||
\add_action( 'w3tc_ajax', array( '\W3TC\Cdn_StackPath2_Popup', 'w3tc_ajax' ) );
|
||||
\add_action( 'w3tc_settings_cdn_boxarea_configuration', array( '\W3TC\Cdn_StackPath2_Page', 'w3tc_settings_cdn_boxarea_configuration' ) );
|
||||
\add_action( 'admin_init_w3tc_dashboard', array( '\W3TC\Cdn_StackPath2_Widget', 'admin_init_w3tc_dashboard' ) );
|
||||
\add_action( 'w3tc_ajax_cdn_stackpath2_widgetdata', array( '\W3TC\Cdn_StackPath2_Widget', 'w3tc_ajax_cdn_stackpath2_widgetdata' ) );
|
||||
break;
|
||||
case 'bunnycdn':
|
||||
\add_action( 'w3tc_ajax', array( '\W3TC\Cdn_BunnyCdn_Page', 'w3tc_ajax' ) );
|
||||
\add_action( 'w3tc_ajax', array( '\W3TC\Cdn_BunnyCdn_Popup', 'w3tc_ajax' ) );
|
||||
\add_action( 'w3tc_settings_cdn_boxarea_configuration', array( '\W3TC\Cdn_BunnyCdn_Page', 'w3tc_settings_cdn_boxarea_configuration' ) );
|
||||
\add_action( 'admin_init_w3tc_dashboard', array( '\W3TC\Cdn_BunnyCdn_Widget', 'admin_init_w3tc_dashboard' ) );
|
||||
\add_action( 'w3tc_ajax_cdn_bunnycdn_widgetdata', array( '\W3TC\Cdn_BunnyCdn_Widget', 'w3tc_ajax_cdn_bunnycdn_widgetdata' ) );
|
||||
\add_action( 'w3tc_purge_urls_box', array( '\W3TC\Cdn_BunnyCdn_Page', 'w3tc_purge_urls_box' ) );
|
||||
// \add_filter( 'w3tc_dashboard_actions', array( '\W3TC\Cdn_BunnyCdn_Page', 'w3tc_dashboard_actions' ) ); // @todo Revisit this item.
|
||||
break;
|
||||
default:
|
||||
\add_action( 'admin_init_w3tc_dashboard', array( '\W3TC\Cdn_BunnyCdn_Widget', 'admin_init_w3tc_dashboard' ) );
|
||||
|
Reference in New Issue
Block a user