Skip to content

Commit

Permalink
Fix. FSwatcher. Skip init on WP_Estimation_Form
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandergull committed Sep 12, 2024
1 parent 7b60651 commit 27cbba8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/CleantalkSP/SpbctWP/FSWatcher/SpbctWpFSWController.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ public static function work($params)
in_array('RapidLoad_Buffer::maybe_process_buffer', ob_list_handlers()) ||
in_array('GFForms::ensure_hook_js_output', ob_list_handlers()) ||
(spbc_is_plugin_active('listingpro-plugin/plugin.php') && Server::inUri('listing')) ||
// WP_Estimation_Form
(
spbc_is_plugin_active('WP_Estimation_Form/estimation-form.php') &&
(
strpos(Request::get('screen_id'), 'lfb') !== false ||
strpos(Request::get('page'), 'lfb') !== false
)
) ||
count(ob_list_handlers()) > 1 ||
(defined('CT_SPBCT_RUN_FSW_ONLY_ON_ADMIN') && !is_admin())
) {
Expand Down

0 comments on commit 27cbba8

Please sign in to comment.