From 483262f151a2b6617064c229db7ec76312db813a Mon Sep 17 00:00:00 2001 From: Grigore Mihai Date: Tue, 17 Sep 2019 17:43:53 +0300 Subject: [PATCH] fix: compatibility with cache_enabler #136 --- inc/compatibilities/cache_enabler.php | 29 +++++++++++++++++++++++++++ inc/manager.php | 1 + 2 files changed, 30 insertions(+) create mode 100644 inc/compatibilities/cache_enabler.php diff --git a/inc/compatibilities/cache_enabler.php b/inc/compatibilities/cache_enabler.php new file mode 100644 index 00000000..bcb74865 --- /dev/null +++ b/inc/compatibilities/cache_enabler.php @@ -0,0 +1,29 @@ +manager, 'replace_content' ], PHP_INT_MAX, 1 ); + } + +} diff --git a/inc/manager.php b/inc/manager.php index 0be17b58..ee1e8f71 100644 --- a/inc/manager.php +++ b/inc/manager.php @@ -64,6 +64,7 @@ final class Optml_Manager { 'metaslider', 'essential_grid', 'yith_quick_view', + 'cache_enabler', ); /**