Thread Starter
doume
(@doume)
Problem when the topic was saved.
Original title was “[Suggestion] Add support for Comet Cache”.
Hey,
I’ve never used it and I’m not sure where I’ll have chance to look at this but I’ll consider it!
You are more than welcome to contribute: https://github.com/lukasjuhas/lj-maintenance-mode/tree/2.3dev
Thanks!
Thread Starter
doume
(@doume)
I don’t use github, sorry. Here is the additional code based on Maintenance Mode 2.2.5.
In function ljmm_get_defaults:
case 'warning_comet_cache' :
$default = __("Important: Don't forget to flush your cache using Comet Cache when enabling or disabling Maintenance Mode.", LJMM_PLUGIN_DOMAIN);
break;
In public function cache_plugin:
// add comet cache support
if (in_array('comet-cache/comet-cache.php', apply_filters('active_plugins', get_option('active_plugins')))) {
$message = ljmm_get_defaults('warning_comet_cache');
}
-
This reply was modified 5 years, 10 months ago by
doume.
Thread Starter
doume
(@doume)
Great π
I see the .pot is updated (but Project-Id-Version still 2.2.5), translation will follow soon.
-
This reply was modified 5 years, 10 months ago by
doume.
Hello @doume,
This has been implemented in 2.3 which I just released.
Thanks!
Thread Starter
doume
(@doume)
Thanks, but I think the update on wordpress.org went wrong. The fr_FR files are not the last ones.