rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -58,6 +58,9 @@ class wfWAFIPBlocksController
}
$isSynchronizing = true;
global $wpdb;
$suppressed = $wpdb->suppress_errors(!(defined('WFWAF_DEBUG') && WFWAF_DEBUG));
// Pattern Blocks
$blocks = wfBlock::patternBlocks(true);
$patternBlocks = array();
@@ -138,6 +141,8 @@ class wfWAFIPBlocksController
// Do nothing
}
$isSynchronizing = false;
$wpdb->suppress_errors($suppressed);
}
/**