PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.6.5
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.6.5
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 +4 -15 1.6.121.6.5 View file →
@@ -30,9 +30,8 @@
30 30
31 31 weforms()->scripts->enqueue_backend();
32 32
33 33 $recaptcha = weforms_get_settings( 'recaptcha' );
34 - $humanpresence = get_option( 'wp-human-presence', array() );
35 34
36 35 $wpuf_form_builder = apply_filters( 'wpuf-form-builder-localize-script', [
37 36 'i18n' => $this->i18n(),
38 37 'panel_sections' => weforms()->fields->get_field_groups(),
@@ -64,16 +63,11 @@
64 63 ],
65 64 ],
66 65 ],
67 66 ],
68 - 'integrations' => weforms()->integrations->get_integration_js_settings(),
69 - 'recaptcha_site' => isset( $recaptcha->key ) ? $recaptcha->key : '',
70 - 'recaptcha_secret' => isset( $recaptcha->secret ) ? $recaptcha->secret : '',
71 - 'humanpresence_installed' => (
72 - class_exists( 'HumanPresenceWEFormsIntegration' ) &&
73 - isset( $humanpresence['wp_hp_premium_license'] ) &&
74 - $humanpresence['wp_hp_premium_license'] )
75 - ? true : false,
67 + 'integrations' => weforms()->integrations->get_integration_js_settings(),
68 + 'recaptcha_site' => isset( $recaptcha->key ) ? $recaptcha->key : '',
69 + 'recaptcha_secret' => isset( $recaptcha->secret ) ? $recaptcha->secret : '',
76 70 ] );
77 71
78 72 // mixins
79 73 $wpuf_mixins = [
@@ -94,9 +88,9 @@
94 88 'mixins' => [ 'default' => null ],
95 89 'assetsURL' => WEFORMS_ASSET_URI,
96 90 'shortcodes' => $this->shortcodes(),
97 91 'settings' => [
98 - 'recaptcha' => weforms_get_settings( 'recaptcha' ),
92 + 'recaptcha' => weforms_get_settings( 'recaptcha' ),
99 93 ],
100 94 ] );
101 95
102 96 wp_localize_script( 'weforms-form-builder-mixins', 'wpuf_form_builder', $wpuf_form_builder );
@@ -344,9 +338,8 @@
344 338
345 339 <a href="#" :class="['nav-tab', isActiveSettingsTab( 'form' ) ? 'nav-tab-active' : '']" v-on:click.prevent="makeActiveSettingsTab( 'form' )" class="nav-tab"><?php esc_html_e( 'Form Settings', 'weforms' ); ?></a>
346 340 <a href="#" :class="['nav-tab', isActiveSettingsTab( 'restriction' ) ? 'nav-tab-active' : '']" v-on:click.prevent="makeActiveSettingsTab( 'restriction' )" class="nav-tab"><?php esc_html_e( 'Submission Restriction', 'weforms' ); ?></a>
347 341 <a href="#" :class="['nav-tab', isActiveSettingsTab( 'display' ) ? 'nav-tab-active' : '']" v-on:click.prevent="makeActiveSettingsTab( 'display' )" class="nav-tab"><?php esc_html_e( 'Display Settings', 'weforms' ); ?></a>
348 - <a href="#" :class="['nav-tab', isActiveSettingsTab( 'humanpresence' ) ? 'nav-tab-active' : '']" v-on:click.prevent="makeActiveSettingsTab( 'humanpresence' )" class="nav-tab"><i aria-hidden="true" class="fa fa-humanpresence"></i> <?php esc_html_e( 'HP Anti-Spam', 'weforms' ); ?></a>
349 342
350 343 <?php do_action( 'wpuf_contact_form_settings_tab' ); ?>
351 344
352 345 <?php
@@ -368,12 +361,8 @@
368 361 </div>
369 362
370 363 <div id="wpuf-metabox-settings-display" class="tab-content" v-show="isActiveSettingsTab('display')">
371 364 <?php include_once __DIR__ . '/views/display-settings.php'; ?>
372 - </div>
373 -
374 - <div id="wpuf-metabox-settings-humanpresence" class="tab-content" v-show="isActiveSettingsTab('humanpresence')">
375 - <?php include_once __DIR__ . '/views/humanpresence-settings.php'; ?>
376 365 </div>
377 366
378 367 <?php do_action( 'wpuf_contact_form_settings_tab_content' ); ?>
379 368