| @@ -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 | |
| @@ -212,9 +212,9 @@ | ||
| 212 | 212 | ?> |
| 213 | 213 | <script> |
| 214 | 214 | if (!window.Promise) { |
| 215 | 215 | var promise_polyfill = document.createElement('script'); |
| 216 | - promise_polyfill.setAttribute('src','https://cdn.polyfill.io/v2/polyfill.min.js'); | |
| 216 | + promise_polyfill.setAttribute('src','https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0'); | |
| 217 | 217 | document.head.appendChild(promise_polyfill); |
| 218 | 218 | } |
| 219 | 219 | </script> |
| 220 | 220 | |