Skip to content

Commit

Permalink
#4382 properly added for Litespeed cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabi09 committed Apr 27, 2020
1 parent ebc6d20 commit 1f9d97c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/features/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,8 @@ function ampforwp_mobile_redirection_notice(){
return;
}
}
if(function_exists('litespeed_purge_single_post') && 'mobileview_enabled' != LiteSpeed_Cache_Config::OPID_CACHE_MOBILE) { $plugin = 'LiteSpeed Cache';
if(function_exists('litespeed_purge_single_post') && !LiteSpeed_Cache_Admin_Rules::get_instance()->get_rewrite_rule_mobile_agents()) {
$plugin = 'LiteSpeed Cache';
$option = 'Cache Mobile';
}
if(function_exists('wpfastestcache_activate') && 'on' != $GLOBALS["wp_fastest_cache_options"]->wpFastestCacheMobile) {
Expand Down

0 comments on commit 1f9d97c

Please sign in to comment.