PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.6.21
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.6.21
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
← All changes | includes/admin/class-form-builder-assets.php +11 -3 1.6.261.6.21 View file →
@@ -67,11 +67,11 @@
67 67 ],
68 68 'integrations' => weforms()->integrations->get_integration_js_settings(),
69 69 'recaptcha_site' => isset( $recaptcha->key ) ? $recaptcha->key : '',
70 70 'recaptcha_secret' => isset( $recaptcha->secret ) ? $recaptcha->secret : '',
71 - 'humanpresence_installed' => (
72 - class_exists( 'HumanPresenceWEFormsIntegration' ) &&
73 - isset( $humanpresence['wp_hp_premium_license'] ) &&
71 + 'humanpresence_installed' => (
72 + class_exists( 'HumanPresenceWEFormsIntegration' ) &&
73 + isset( $humanpresence['wp_hp_premium_license'] ) &&
74 74 $humanpresence['wp_hp_premium_license'] )
75 75 ? true : false,
76 76 ] );
77 77
@@ -209,8 +209,16 @@
209 209 * @return void
210 210 */
211 211 public function builder_mixins_script() {
212 212 ?>
213 + <script>
214 + if (!window.Promise) {
215 + var promise_polyfill = document.createElement('script');
216 + promise_polyfill.setAttribute('src','https://cdn.polyfill.io/v2/polyfill.min.js');
217 + document.head.appendChild(promise_polyfill);
218 + }
219 + </script>
220 +
213 221 <script>
214 222 var wpuf_form_builder_mixins = function(mixins, mixin_parent) {
215 223 if (!mixins || !mixins.length) {
216 224 return [];