PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.3.1
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.3.1
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
← All changes | includes/Core/Util/Utilities.php +13 -0 3.2.13.3.1 View file →
@@ -159,8 +159,21 @@
159 159 $decoded = json_decode($json);
160 160 return is_object($decoded) ? $decoded : null;
161 161 }
162 162
163 + /**
164 + * Hardened hosts disable ignore_user_abort in php.ini; PHP 8 fatals on the call instead of warning.
165 + *
166 + * @param bool $ignore
167 + * @return void
168 + */
169 + public static function ignoreUserAbort($ignore = true)
170 + {
171 + if (\function_exists('ignore_user_abort')) {
172 + \ignore_user_abort($ignore);
173 + }
174 + }
175 +
163 176 public static function duplicateDbTable($oldTableName, $newTableName)
164 177 {
165 178 global $wpdb;
166 179 $oldTable = "{$wpdb->prefix}bitforms_{$oldTableName}";