Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms - Version 1.6.17

Version Description

  • Bugfix: Address part was preventing forms from working correctly.
Download this release

Release Info

Developer thethemefoundry
Plugin Icon 128x128 Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms
Version 1.6.17
Comparing to
See all releases

Code changes from version 1.6.16 to 1.6.17

happyforms.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://happyforms.me
6
  * Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
7
  * Author: The Theme Foundry
8
- * Version: 1.6.16
9
  * Author URI: https://thethemefoundry.com
10
  * Upgrade URI: https://thethemefoundry.com
11
  */
@@ -13,7 +13,7 @@
13
  /**
14
  * The current version of the plugin.
15
  */
16
- define( 'HAPPYFORMS_VERSION', '1.6.16' );
17
 
18
  if ( ! function_exists( 'happyforms_plugin_file' ) ):
19
  /**
5
  * Plugin URI: https://happyforms.me
6
  * Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
7
  * Author: The Theme Foundry
8
+ * Version: 1.6.17
9
  * Author URI: https://thethemefoundry.com
10
  * Upgrade URI: https://thethemefoundry.com
11
  */
13
  /**
14
  * The current version of the plugin.
15
  */
16
+ define( 'HAPPYFORMS_VERSION', '1.6.17' );
17
 
18
  if ( ! function_exists( 'happyforms_plugin_file' ) ):
19
  /**
inc/core/classes/class-block.php CHANGED
@@ -73,7 +73,7 @@ class HappyForms_Block {
73
  public function enqueue_scripts() {
74
  wp_enqueue_script(
75
  'happyforms-block',
76
- happyforms_get_plugin_url() . '/inc/core/assets/js/admin/block.js',
77
  array( 'wp-blocks', 'wp-element', 'wp-components', 'wp-editor' )
78
  );
79
 
73
  public function enqueue_scripts() {
74
  wp_enqueue_script(
75
  'happyforms-block',
76
+ happyforms_get_plugin_url() . 'inc/core/assets/js/admin/block.js',
77
  array( 'wp-blocks', 'wp-element', 'wp-components', 'wp-editor' )
78
  );
79
 
inc/core/classes/class-form-controller.php CHANGED
@@ -1016,7 +1016,7 @@ class HappyForms_Form_Controller {
1016
 
1017
  wp_register_script(
1018
  'recaptcha',
1019
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/recaptcha.js',
1020
  array( 'google-recaptcha' ), false, true
1021
  );
1022
 
1016
 
1017
  wp_register_script(
1018
  'recaptcha',
1019
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/recaptcha.js',
1020
  array( 'google-recaptcha' ), false, true
1021
  );
1022
 
inc/core/classes/class-happyforms-core.php CHANGED
@@ -212,13 +212,13 @@ class HappyForms_Core {
212
  public function admin_enqueue_scripts() {
213
  wp_enqueue_style(
214
  'happyforms-admin',
215
- happyforms_get_plugin_url() . '/inc/core/assets/css/admin.css',
216
  array(), HAPPYFORMS_VERSION
217
  );
218
 
219
  wp_enqueue_script(
220
  'happyforms-admin',
221
- happyforms_get_plugin_url() . '/inc/core/assets/js/admin/dashboard.js',
222
  array(), HAPPYFORMS_VERSION, true
223
  );
224
  }
@@ -430,7 +430,7 @@ class HappyForms_Core {
430
  }
431
 
432
  public function mce_external_plugins( $plugins ) {
433
- $plugins['happyforms_shortcode'] = happyforms_get_plugin_url() . '/inc/core/assets/js/admin/shortcode.js';
434
 
435
  return $plugins;
436
  }
@@ -459,7 +459,7 @@ class HappyForms_Core {
459
  return;
460
  }
461
 
462
- $url = happyforms_get_plugin_url() . '/inc/core/assets/css/frontend.css?' . HAPPYFORMS_VERSION;
463
  ?>
464
  <link rel="stylesheet" property="stylesheet" href="<?php echo $url; ?>" />
465
  <?php
@@ -492,6 +492,12 @@ class HappyForms_Core {
492
  return;
493
  }
494
 
 
 
 
 
 
 
495
  $dependencies = apply_filters(
496
  'happyforms_frontend_dependencies',
497
  array( 'jquery' ), $this->current_forms
@@ -499,7 +505,7 @@ class HappyForms_Core {
499
 
500
  wp_enqueue_script(
501
  'happyforms-frontend',
502
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend.js',
503
  $dependencies, HAPPYFORMS_VERSION, true
504
  );
505
 
@@ -526,7 +532,7 @@ class HappyForms_Core {
526
 
527
  wp_enqueue_style(
528
  'happyforms-preview',
529
- happyforms_get_plugin_url() . '/inc/core/assets/css/preview.css',
530
  array(), HAPPYFORMS_VERSION
531
  );
532
  }
@@ -553,7 +559,7 @@ class HappyForms_Core {
553
 
554
  wp_enqueue_script(
555
  'happyforms-preview',
556
- happyforms_get_plugin_url() . '/inc/core/assets/js/preview.js',
557
  $preview_deps, HAPPYFORMS_VERSION, true
558
  );
559
 
212
  public function admin_enqueue_scripts() {
213
  wp_enqueue_style(
214
  'happyforms-admin',
215
+ happyforms_get_plugin_url() . 'inc/core/assets/css/admin.css',
216
  array(), HAPPYFORMS_VERSION
217
  );
218
 
219
  wp_enqueue_script(
220
  'happyforms-admin',
221
+ happyforms_get_plugin_url() . 'inc/core/assets/js/admin/dashboard.js',
222
  array(), HAPPYFORMS_VERSION, true
223
  );
224
  }
430
  }
431
 
432
  public function mce_external_plugins( $plugins ) {
433
+ $plugins['happyforms_shortcode'] = happyforms_get_plugin_url() . 'inc/core/assets/js/admin/shortcode.js';
434
 
435
  return $plugins;
436
  }
459
  return;
460
  }
461
 
462
+ $url = happyforms_get_plugin_url() . 'inc/core/assets/css/frontend.css?' . HAPPYFORMS_VERSION;
463
  ?>
464
  <link rel="stylesheet" property="stylesheet" href="<?php echo $url; ?>" />
465
  <?php
492
  return;
493
  }
494
 
495
+ wp_register_script(
496
+ 'happyforms-select',
497
+ happyforms_get_plugin_url() . 'inc/core/assets/js/lib/happyforms-select.js',
498
+ array( 'jquery' ), HAPPYFORMS_VERSION, true
499
+ );
500
+
501
  $dependencies = apply_filters(
502
  'happyforms_frontend_dependencies',
503
  array( 'jquery' ), $this->current_forms
505
 
506
  wp_enqueue_script(
507
  'happyforms-frontend',
508
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend.js',
509
  $dependencies, HAPPYFORMS_VERSION, true
510
  );
511
 
532
 
533
  wp_enqueue_style(
534
  'happyforms-preview',
535
+ happyforms_get_plugin_url() . 'inc/core/assets/css/preview.css',
536
  array(), HAPPYFORMS_VERSION
537
  );
538
  }
559
 
560
  wp_enqueue_script(
561
  'happyforms-preview',
562
+ happyforms_get_plugin_url() . 'inc/core/assets/js/preview.js',
563
  $preview_deps, HAPPYFORMS_VERSION, true
564
  );
565
 
inc/core/classes/class-tracking.php CHANGED
@@ -186,7 +186,7 @@ class HappyForms_Tracking {
186
  if ( 'happyforms_page_happyforms-welcome' === $current_screen->id ) {
187
  wp_enqueue_script(
188
  'happyforms-tracking',
189
- happyforms_get_plugin_url() . '/inc/core/assets/js/tracking.js',
190
  array(), HAPPYFORMS_VERSION, true
191
  );
192
  }
186
  if ( 'happyforms_page_happyforms-welcome' === $current_screen->id ) {
187
  wp_enqueue_script(
188
  'happyforms-tracking',
189
+ happyforms_get_plugin_url() . 'inc/core/assets/js/tracking.js',
190
  array(), HAPPYFORMS_VERSION, true
191
  );
192
  }
inc/core/classes/class-wp-customize-form-manager.php CHANGED
@@ -270,13 +270,13 @@ class HappyForms_WP_Customize_Form_Manager {
270
  public function enqueue_scripts_customizer() {
271
  wp_enqueue_style(
272
  'happyforms-customize',
273
- happyforms_get_plugin_url() . '/inc/core/assets/css/customize.css',
274
  array( 'wp-color-picker', 'wp-pointer' ), HAPPYFORMS_VERSION
275
  );
276
 
277
  wp_enqueue_style(
278
  'happyforms-font-awesome',
279
- happyforms_get_plugin_url() . '/inc/core/assets/css/font-awesome.min.css',
280
  array(), HAPPYFORMS_VERSION
281
  );
282
 
@@ -299,7 +299,7 @@ class HappyForms_WP_Customize_Form_Manager {
299
 
300
  wp_register_script(
301
  'happyforms-customize',
302
- happyforms_get_plugin_url() . '/inc/core/assets/js/customize.js',
303
  $customize_deps, HAPPYFORMS_VERSION, true
304
  );
305
 
270
  public function enqueue_scripts_customizer() {
271
  wp_enqueue_style(
272
  'happyforms-customize',
273
+ happyforms_get_plugin_url() . 'inc/core/assets/css/customize.css',
274
  array( 'wp-color-picker', 'wp-pointer' ), HAPPYFORMS_VERSION
275
  );
276
 
277
  wp_enqueue_style(
278
  'happyforms-font-awesome',
279
+ happyforms_get_plugin_url() . 'inc/core/assets/css/font-awesome.min.css',
280
  array(), HAPPYFORMS_VERSION
281
  );
282
 
299
 
300
  wp_register_script(
301
  'happyforms-customize',
302
+ happyforms_get_plugin_url() . 'inc/core/assets/js/customize.js',
303
  $customize_deps, HAPPYFORMS_VERSION, true
304
  );
305
 
inc/core/classes/parts/class-part-address.php CHANGED
@@ -327,7 +327,7 @@ class HappyForms_Part_Address extends HappyForms_Form_Part {
327
  public function customize_enqueue_scripts( $deps = array() ) {
328
  wp_enqueue_script(
329
  'part-address',
330
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-address.js',
331
  $deps, HAPPYFORMS_VERSION, true
332
  );
333
  }
@@ -360,7 +360,7 @@ class HappyForms_Part_Address extends HappyForms_Form_Part {
360
 
361
  wp_register_script(
362
  'happyforms-part-address',
363
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/address.js',
364
  array( 'happyforms-select' ), HAPPYFORMS_VERSION, true
365
  );
366
 
327
  public function customize_enqueue_scripts( $deps = array() ) {
328
  wp_enqueue_script(
329
  'part-address',
330
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-address.js',
331
  $deps, HAPPYFORMS_VERSION, true
332
  );
333
  }
360
 
361
  wp_register_script(
362
  'happyforms-part-address',
363
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/address.js',
364
  array( 'happyforms-select' ), HAPPYFORMS_VERSION, true
365
  );
366
 
inc/core/classes/parts/class-part-checkbox.php CHANGED
@@ -117,7 +117,7 @@ class HappyForms_Part_Checkbox extends HappyForms_Form_Part {
117
  public function customize_enqueue_scripts( $deps = array() ) {
118
  wp_enqueue_script(
119
  'part-checkbox',
120
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-checkbox.js',
121
  $deps, HAPPYFORMS_VERSION, true
122
  );
123
  }
117
  public function customize_enqueue_scripts( $deps = array() ) {
118
  wp_enqueue_script(
119
  'part-checkbox',
120
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-checkbox.js',
121
  $deps, HAPPYFORMS_VERSION, true
122
  );
123
  }
inc/core/classes/parts/class-part-date.php CHANGED
@@ -386,7 +386,7 @@ class HappyForms_Part_Date extends HappyForms_Form_Part {
386
  public function customize_enqueue_scripts( $deps = array() ) {
387
  wp_enqueue_script(
388
  'part-date',
389
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-date.js',
390
  $deps, HAPPYFORMS_VERSION, true
391
  );
392
  }
@@ -408,20 +408,12 @@ class HappyForms_Part_Date extends HappyForms_Form_Part {
408
 
409
  wp_register_script(
410
  'happyforms-part-date',
411
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/date.js',
412
- array(), HAPPYFORMS_VERSION, true
413
  );
414
 
415
  $deps[] = 'happyforms-part-date';
416
 
417
- wp_register_script(
418
- 'happyforms-select',
419
- happyforms_get_plugin_url() . '/inc/core/assets/js/lib/happyforms-select.js',
420
- array( 'jquery' ), HAPPYFORMS_VERSION, true
421
- );
422
-
423
- $deps[] = 'happyforms-select';
424
-
425
  return $deps;
426
  }
427
 
386
  public function customize_enqueue_scripts( $deps = array() ) {
387
  wp_enqueue_script(
388
  'part-date',
389
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-date.js',
390
  $deps, HAPPYFORMS_VERSION, true
391
  );
392
  }
408
 
409
  wp_register_script(
410
  'happyforms-part-date',
411
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/date.js',
412
+ array( 'happyforms-select' ), HAPPYFORMS_VERSION, true
413
  );
414
 
415
  $deps[] = 'happyforms-part-date';
416
 
 
 
 
 
 
 
 
 
417
  return $deps;
418
  }
419
 
inc/core/classes/parts/class-part-email.php CHANGED
@@ -216,7 +216,7 @@ class HappyForms_Part_Email extends HappyForms_Form_Part {
216
  public function customize_enqueue_scripts( $deps = array() ) {
217
  wp_enqueue_script(
218
  'part-email',
219
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-email.js',
220
  $deps, HAPPYFORMS_VERSION, true
221
  );
222
  }
@@ -236,17 +236,9 @@ class HappyForms_Part_Email extends HappyForms_Form_Part {
236
  return $deps;
237
  }
238
 
239
- wp_register_script(
240
- 'happyforms-select',
241
- happyforms_get_plugin_url() . '/inc/core/assets/js/lib/happyforms-select.js',
242
- array( 'jquery' ), HAPPYFORMS_VERSION, true
243
- );
244
-
245
- $deps[] = 'happyforms-select';
246
-
247
  wp_register_script(
248
  'happyforms-email',
249
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/email.js',
250
  array( 'happyforms-select' ), HAPPYFORMS_VERSION, true
251
  );
252
 
216
  public function customize_enqueue_scripts( $deps = array() ) {
217
  wp_enqueue_script(
218
  'part-email',
219
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-email.js',
220
  $deps, HAPPYFORMS_VERSION, true
221
  );
222
  }
236
  return $deps;
237
  }
238
 
 
 
 
 
 
 
 
 
239
  wp_register_script(
240
  'happyforms-email',
241
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/email.js',
242
  array( 'happyforms-select' ), HAPPYFORMS_VERSION, true
243
  );
244
 
inc/core/classes/parts/class-part-legal.php CHANGED
@@ -182,7 +182,7 @@ class HappyForms_Part_Legal extends HappyForms_Form_Part {
182
  public function customize_enqueue_scripts( $deps = array() ) {
183
  wp_enqueue_script(
184
  'part-legal',
185
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-legal.js',
186
  $deps, HAPPYFORMS_VERSION, true
187
  );
188
  }
182
  public function customize_enqueue_scripts( $deps = array() ) {
183
  wp_enqueue_script(
184
  'part-legal',
185
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-legal.js',
186
  $deps, HAPPYFORMS_VERSION, true
187
  );
188
  }
inc/core/classes/parts/class-part-multi-line-text.php CHANGED
@@ -100,7 +100,7 @@ class HappyForms_Part_MultiLineText extends HappyForms_Form_Part {
100
  public function customize_enqueue_scripts( $deps = array() ) {
101
  wp_enqueue_script(
102
  'part-multi-line-text',
103
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-multi-line-text.js',
104
  $deps, HAPPYFORMS_VERSION, true
105
  );
106
  }
100
  public function customize_enqueue_scripts( $deps = array() ) {
101
  wp_enqueue_script(
102
  'part-multi-line-text',
103
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-multi-line-text.js',
104
  $deps, HAPPYFORMS_VERSION, true
105
  );
106
  }
inc/core/classes/parts/class-part-narrative.php CHANGED
@@ -158,7 +158,7 @@ class HappyForms_Part_Narrative extends HappyForms_Form_Part {
158
  public function customize_enqueue_scripts( $deps = array() ) {
159
  wp_enqueue_script(
160
  'part-narrative',
161
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-narrative.js',
162
  $deps, HAPPYFORMS_VERSION, true
163
  );
164
  }
@@ -180,7 +180,7 @@ class HappyForms_Part_Narrative extends HappyForms_Form_Part {
180
 
181
  wp_register_script(
182
  'happyforms-part-narrative',
183
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/narrative.js',
184
  array(), HAPPYFORMS_VERSION, true
185
  );
186
 
158
  public function customize_enqueue_scripts( $deps = array() ) {
159
  wp_enqueue_script(
160
  'part-narrative',
161
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-narrative.js',
162
  $deps, HAPPYFORMS_VERSION, true
163
  );
164
  }
180
 
181
  wp_register_script(
182
  'happyforms-part-narrative',
183
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/narrative.js',
184
  array(), HAPPYFORMS_VERSION, true
185
  );
186
 
inc/core/classes/parts/class-part-number.php CHANGED
@@ -212,7 +212,7 @@ class HappyForms_Part_Number extends HappyForms_Form_Part {
212
  public function customize_enqueue_scripts( $deps = array() ) {
213
  wp_enqueue_script(
214
  'part-number',
215
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-number.js',
216
  $deps, HAPPYFORMS_VERSION, true
217
  );
218
  }
@@ -279,13 +279,13 @@ class HappyForms_Part_Number extends HappyForms_Form_Part {
279
 
280
  wp_register_script(
281
  'cleave',
282
- happyforms_get_plugin_url() . '/inc/core/assets/js/lib/cleave.min.js',
283
  array(), HAPPYFORMS_VERSION
284
  );
285
 
286
  wp_register_script(
287
  'happyforms-part-number',
288
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/number.js',
289
  array( 'cleave' ), HAPPYFORMS_VERSION, true
290
  );
291
 
212
  public function customize_enqueue_scripts( $deps = array() ) {
213
  wp_enqueue_script(
214
  'part-number',
215
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-number.js',
216
  $deps, HAPPYFORMS_VERSION, true
217
  );
218
  }
279
 
280
  wp_register_script(
281
  'cleave',
282
+ happyforms_get_plugin_url() . 'inc/core/assets/js/lib/cleave.min.js',
283
  array(), HAPPYFORMS_VERSION
284
  );
285
 
286
  wp_register_script(
287
  'happyforms-part-number',
288
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/number.js',
289
  array( 'cleave' ), HAPPYFORMS_VERSION, true
290
  );
291
 
inc/core/classes/parts/class-part-phone.php CHANGED
@@ -244,7 +244,7 @@ class HappyForms_Part_Phone extends HappyForms_Form_Part {
244
  public function customize_enqueue_scripts( $deps = array() ) {
245
  wp_enqueue_script(
246
  'part-phone',
247
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-phone.js',
248
  $deps, HAPPYFORMS_VERSION, true
249
  );
250
  }
@@ -277,19 +277,19 @@ class HappyForms_Part_Phone extends HappyForms_Form_Part {
277
 
278
  wp_register_script(
279
  'cleave',
280
- happyforms_get_plugin_url() . '/inc/core/assets/js/lib/cleave.min.js',
281
  array(), HAPPYFORMS_VERSION
282
  );
283
 
284
  wp_register_script(
285
  'cleave-phone',
286
- happyforms_get_plugin_url() . '/inc/core/assets/js/lib/cleave-phone.i18n.js',
287
  array( 'cleave' ), HAPPYFORMS_VERSION, true
288
  );
289
 
290
  wp_register_script(
291
  'happyforms-part-phone',
292
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/phone.js',
293
  array( 'cleave-phone' ), HAPPYFORMS_VERSION, true
294
  );
295
 
244
  public function customize_enqueue_scripts( $deps = array() ) {
245
  wp_enqueue_script(
246
  'part-phone',
247
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-phone.js',
248
  $deps, HAPPYFORMS_VERSION, true
249
  );
250
  }
277
 
278
  wp_register_script(
279
  'cleave',
280
+ happyforms_get_plugin_url() . 'inc/core/assets/js/lib/cleave.min.js',
281
  array(), HAPPYFORMS_VERSION
282
  );
283
 
284
  wp_register_script(
285
  'cleave-phone',
286
+ happyforms_get_plugin_url() . 'inc/core/assets/js/lib/cleave-phone.i18n.js',
287
  array( 'cleave' ), HAPPYFORMS_VERSION, true
288
  );
289
 
290
  wp_register_script(
291
  'happyforms-part-phone',
292
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/phone.js',
293
  array( 'cleave-phone' ), HAPPYFORMS_VERSION, true
294
  );
295
 
inc/core/classes/parts/class-part-placeholder.php CHANGED
@@ -142,7 +142,7 @@ class HappyForms_Part_Placeholder extends HappyForms_Form_Part {
142
  public function customize_enqueue_scripts( $deps = array() ) {
143
  wp_enqueue_script(
144
  'part-placeholder',
145
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-placeholder.js',
146
  $deps, HAPPYFORMS_VERSION, true
147
  );
148
  }
142
  public function customize_enqueue_scripts( $deps = array() ) {
143
  wp_enqueue_script(
144
  'part-placeholder',
145
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-placeholder.js',
146
  $deps, HAPPYFORMS_VERSION, true
147
  );
148
  }
inc/core/classes/parts/class-part-radio.php CHANGED
@@ -125,7 +125,7 @@ class HappyForms_Part_Radio extends HappyForms_Form_Part {
125
  public function customize_enqueue_scripts( $deps = array() ) {
126
  wp_enqueue_script(
127
  'part-radio',
128
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-radio.js',
129
  $deps, HAPPYFORMS_VERSION, true
130
  );
131
  }
125
  public function customize_enqueue_scripts( $deps = array() ) {
126
  wp_enqueue_script(
127
  'part-radio',
128
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-radio.js',
129
  $deps, HAPPYFORMS_VERSION, true
130
  );
131
  }
inc/core/classes/parts/class-part-rating.php CHANGED
@@ -215,7 +215,7 @@ class HappyForms_Part_Rating extends HappyForms_Form_Part {
215
  public function customize_enqueue_scripts( $deps = array() ) {
216
  wp_enqueue_script(
217
  'part-rating',
218
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-rating.js',
219
  $deps, HAPPYFORMS_VERSION, true
220
  );
221
  }
@@ -237,7 +237,7 @@ class HappyForms_Part_Rating extends HappyForms_Form_Part {
237
 
238
  wp_register_script(
239
  'happyforms-part-rating',
240
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/rating.js',
241
  array(), HAPPYFORMS_VERSION, true
242
  );
243
 
215
  public function customize_enqueue_scripts( $deps = array() ) {
216
  wp_enqueue_script(
217
  'part-rating',
218
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-rating.js',
219
  $deps, HAPPYFORMS_VERSION, true
220
  );
221
  }
237
 
238
  wp_register_script(
239
  'happyforms-part-rating',
240
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/rating.js',
241
  array(), HAPPYFORMS_VERSION, true
242
  );
243
 
inc/core/classes/parts/class-part-rich-text.php CHANGED
@@ -102,7 +102,7 @@ class HappyForms_Part_RichText extends HappyForms_Form_Part {
102
  public function customize_enqueue_scripts( $deps = array() ) {
103
  wp_enqueue_script(
104
  'part-rich-text',
105
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-rich-text.js',
106
  $deps, HAPPYFORMS_VERSION, true
107
  );
108
  }
@@ -225,11 +225,11 @@ class HappyForms_Part_RichText extends HappyForms_Form_Part {
225
 
226
  wp_register_script(
227
  'happyforms-part-rich-text',
228
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/rich-text.js',
229
  array( 'editor' ), HAPPYFORMS_VERSION, true
230
  );
231
 
232
- $content_css = array( happyforms_get_plugin_url() . '/inc/core/assets/css/rich-text-editor.css' );
233
  /**
234
  * Filters the list of CSS files to load
235
  * in the editor document.
102
  public function customize_enqueue_scripts( $deps = array() ) {
103
  wp_enqueue_script(
104
  'part-rich-text',
105
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-rich-text.js',
106
  $deps, HAPPYFORMS_VERSION, true
107
  );
108
  }
225
 
226
  wp_register_script(
227
  'happyforms-part-rich-text',
228
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/rich-text.js',
229
  array( 'editor' ), HAPPYFORMS_VERSION, true
230
  );
231
 
232
+ $content_css = array( happyforms_get_plugin_url() . 'inc/core/assets/css/rich-text-editor.css' );
233
  /**
234
  * Filters the list of CSS files to load
235
  * in the editor document.
inc/core/classes/parts/class-part-scale.php CHANGED
@@ -215,7 +215,7 @@ class HappyForms_Part_Scale extends HappyForms_Form_Part {
215
  public function customize_enqueue_scripts( $deps = array() ) {
216
  wp_enqueue_script(
217
  'part-scale',
218
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-scale.js',
219
  $deps, HAPPYFORMS_VERSION, true
220
  );
221
  }
@@ -237,7 +237,7 @@ class HappyForms_Part_Scale extends HappyForms_Form_Part {
237
 
238
  wp_register_script(
239
  'multirange-polyfill',
240
- happyforms_get_plugin_url() . '/inc/core/assets/js/lib/multirange.js',
241
  '',
242
  false,
243
  true
@@ -245,7 +245,7 @@ class HappyForms_Part_Scale extends HappyForms_Form_Part {
245
 
246
  wp_register_script(
247
  'happyforms-part-scale',
248
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/scale.js',
249
  array( 'multirange-polyfill' ), HAPPYFORMS_VERSION, true
250
  );
251
 
215
  public function customize_enqueue_scripts( $deps = array() ) {
216
  wp_enqueue_script(
217
  'part-scale',
218
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-scale.js',
219
  $deps, HAPPYFORMS_VERSION, true
220
  );
221
  }
237
 
238
  wp_register_script(
239
  'multirange-polyfill',
240
+ happyforms_get_plugin_url() . 'inc/core/assets/js/lib/multirange.js',
241
  '',
242
  false,
243
  true
245
 
246
  wp_register_script(
247
  'happyforms-part-scale',
248
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/scale.js',
249
  array( 'multirange-polyfill' ), HAPPYFORMS_VERSION, true
250
  );
251
 
inc/core/classes/parts/class-part-select.php CHANGED
@@ -128,7 +128,7 @@ class HappyForms_Part_Select extends HappyForms_Form_Part {
128
  public function customize_enqueue_scripts( $deps = array() ) {
129
  wp_enqueue_script(
130
  'part-select',
131
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-select.js',
132
  $deps, HAPPYFORMS_VERSION, true
133
  );
134
  }
@@ -239,17 +239,9 @@ class HappyForms_Part_Select extends HappyForms_Form_Part {
239
  return $deps;
240
  }
241
 
242
- wp_register_script(
243
- 'happyforms-select',
244
- happyforms_get_plugin_url() . '/inc/core/assets/js/lib/happyforms-select.js',
245
- array( 'jquery' ), HAPPYFORMS_VERSION, true
246
- );
247
-
248
- $deps[] = 'happyforms-select';
249
-
250
  wp_register_script(
251
  'happyforms-dropdown',
252
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/select.js',
253
  array( 'happyforms-select' ), HAPPYFORMS_VERSION, true
254
  );
255
 
128
  public function customize_enqueue_scripts( $deps = array() ) {
129
  wp_enqueue_script(
130
  'part-select',
131
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-select.js',
132
  $deps, HAPPYFORMS_VERSION, true
133
  );
134
  }
239
  return $deps;
240
  }
241
 
 
 
 
 
 
 
 
 
242
  wp_register_script(
243
  'happyforms-dropdown',
244
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/select.js',
245
  array( 'happyforms-select' ), HAPPYFORMS_VERSION, true
246
  );
247
 
inc/core/classes/parts/class-part-single-line-text.php CHANGED
@@ -166,7 +166,7 @@ class HappyForms_Part_SingleLineText extends HappyForms_Form_Part {
166
  public function customize_enqueue_scripts( $deps = array() ) {
167
  wp_enqueue_script(
168
  'part-single-line-text',
169
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-single-line-text.js',
170
  $deps, HAPPYFORMS_VERSION, true
171
  );
172
  }
166
  public function customize_enqueue_scripts( $deps = array() ) {
167
  wp_enqueue_script(
168
  'part-single-line-text',
169
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-single-line-text.js',
170
  $deps, HAPPYFORMS_VERSION, true
171
  );
172
  }
inc/core/classes/parts/class-part-table.php CHANGED
@@ -132,7 +132,7 @@ class HappyForms_Part_Table extends HappyForms_Form_Part {
132
  public function customize_enqueue_scripts( $deps = array() ) {
133
  wp_register_script(
134
  'part-table',
135
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-table.js',
136
  $deps, HAPPYFORMS_VERSION, true
137
  );
138
 
@@ -329,7 +329,7 @@ class HappyForms_Part_Table extends HappyForms_Form_Part {
329
 
330
  wp_register_script(
331
  'happyforms-part-table',
332
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/table.js',
333
  array(), HAPPYFORMS_VERSION, true
334
  );
335
 
132
  public function customize_enqueue_scripts( $deps = array() ) {
133
  wp_register_script(
134
  'part-table',
135
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-table.js',
136
  $deps, HAPPYFORMS_VERSION, true
137
  );
138
 
329
 
330
  wp_register_script(
331
  'happyforms-part-table',
332
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/table.js',
333
  array(), HAPPYFORMS_VERSION, true
334
  );
335
 
inc/core/classes/parts/class-part-title.php CHANGED
@@ -120,7 +120,7 @@ class HappyForms_Part_Title extends HappyForms_Form_Part {
120
  public function customize_enqueue_scripts( $deps = array() ) {
121
  wp_enqueue_script(
122
  'part-title',
123
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-title.js',
124
  $deps, HAPPYFORMS_VERSION, true
125
  );
126
  }
@@ -219,17 +219,9 @@ class HappyForms_Part_Title extends HappyForms_Form_Part {
219
  return $deps;
220
  }
221
 
222
- wp_register_script(
223
- 'happyforms-select',
224
- happyforms_get_plugin_url() . '/inc/core/assets/js/lib/happyforms-select.js',
225
- array( 'jquery' ), HAPPYFORMS_VERSION, true
226
- );
227
-
228
- $deps[] = 'happyforms-select';
229
-
230
  wp_register_script(
231
  'happyforms-title',
232
- happyforms_get_plugin_url() . '/inc/core/assets/js/frontend/title.js',
233
  array( 'happyforms-select' ), HAPPYFORMS_VERSION, true
234
  );
235
 
120
  public function customize_enqueue_scripts( $deps = array() ) {
121
  wp_enqueue_script(
122
  'part-title',
123
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-title.js',
124
  $deps, HAPPYFORMS_VERSION, true
125
  );
126
  }
219
  return $deps;
220
  }
221
 
 
 
 
 
 
 
 
 
222
  wp_register_script(
223
  'happyforms-title',
224
+ happyforms_get_plugin_url() . 'inc/core/assets/js/frontend/title.js',
225
  array( 'happyforms-select' ), HAPPYFORMS_VERSION, true
226
  );
227
 
inc/core/classes/parts/class-part-website-url.php CHANGED
@@ -161,7 +161,7 @@ class HappyForms_Part_WebsiteUrl extends HappyForms_Form_Part {
161
  public function customize_enqueue_scripts( $deps = array() ) {
162
  wp_enqueue_script(
163
  'part-website-url',
164
- happyforms_get_plugin_url() . '/inc/core/assets/js/parts/part-website-url.js',
165
  $deps, HAPPYFORMS_VERSION, true
166
  );
167
  }
161
  public function customize_enqueue_scripts( $deps = array() ) {
162
  wp_enqueue_script(
163
  'part-website-url',
164
+ happyforms_get_plugin_url() . 'inc/core/assets/js/parts/part-website-url.js',
165
  $deps, HAPPYFORMS_VERSION, true
166
  );
167
  }
languages/happyforms.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the HappyForms package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: HappyForms 1.6.16\n"
6
  "Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
7
- "POT-Creation-Date: 2019-01-04 13:39:55+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -153,8 +153,8 @@ msgid "Duplicate"
153
  msgstr ""
154
 
155
  #: inc/core/classes/class-form-admin.php:374
156
- #: inc/core/classes/class-message-admin.php:634
157
- #: inc/core/classes/class-message-admin.php:922
158
  msgid "Trash"
159
  msgstr ""
160
 
@@ -167,8 +167,8 @@ msgid "Forms"
167
  msgstr ""
168
 
169
  #: inc/core/classes/class-form-controller.php:92
170
- #: inc/core/classes/class-message-admin.php:395
171
- #: inc/core/classes/class-message-admin.php:907
172
  msgid "Form"
173
  msgstr ""
174
 
@@ -828,24 +828,24 @@ msgid_plural "%s responses restored from the Trash."
828
  msgstr[0] ""
829
  msgstr[1] ""
830
 
831
- #: inc/core/classes/class-message-admin.php:345
832
  msgid "Pagination"
833
  msgstr ""
834
 
835
- #: inc/core/classes/class-message-admin.php:346
836
  msgid "Number of responses per page:"
837
  msgstr ""
838
 
839
- #: inc/core/classes/class-message-admin.php:350
840
  msgid "Fields"
841
  msgstr ""
842
 
843
- #: inc/core/classes/class-message-admin.php:351
844
  msgid "Number of response fields to show:"
845
  msgstr ""
846
 
847
- #: inc/core/classes/class-message-admin.php:392
848
- #: inc/core/classes/class-message-admin.php:771
849
  #: inc/core/classes/class-message-controller.php:652
850
  #: inc/core/classes/class-message-controller.php:806
851
  #: inc/core/classes/class-message-controller.php:873
@@ -853,53 +853,53 @@ msgstr ""
853
  msgid "Tracking number"
854
  msgstr ""
855
 
856
- #: inc/core/classes/class-message-admin.php:560
857
  msgid "All forms"
858
  msgstr ""
859
 
860
- #: inc/core/classes/class-message-admin.php:632
861
- #: inc/core/classes/class-message-admin.php:917
862
  msgid "Mark read"
863
  msgstr ""
864
 
865
- #: inc/core/classes/class-message-admin.php:633
866
- #: inc/core/classes/class-message-admin.php:917
867
  msgid "Mark unread"
868
  msgstr ""
869
 
870
- #: inc/core/classes/class-message-admin.php:638
871
  msgid "Export to CSV"
872
  msgstr ""
873
 
874
- #: inc/core/classes/class-message-admin.php:706
875
  msgid "View"
876
  msgstr ""
877
 
878
- #: inc/core/classes/class-message-admin.php:710
879
  msgid "Delete Permanently"
880
  msgstr ""
881
 
882
- #: inc/core/classes/class-message-admin.php:892
883
  msgid "Details"
884
  msgstr ""
885
 
886
- #: inc/core/classes/class-message-admin.php:912
887
  msgid "Submitted on"
888
  msgstr ""
889
 
890
- #: inc/core/classes/class-message-admin.php:912
891
  msgid "M j, Y @ H:i"
892
  msgstr ""
893
 
894
- #: inc/core/classes/class-message-admin.php:917
895
  msgid "Status"
896
  msgstr ""
897
 
898
- #: inc/core/classes/class-message-admin.php:917
899
  msgid "Read"
900
  msgstr ""
901
 
902
- #: inc/core/classes/class-message-admin.php:917
903
  msgid "Unread"
904
  msgstr ""
905
 
2
  # This file is distributed under the same license as the HappyForms package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: HappyForms 1.6.17\n"
6
  "Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
7
+ "POT-Creation-Date: 2019-01-05 13:32:13+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
153
  msgstr ""
154
 
155
  #: inc/core/classes/class-form-admin.php:374
156
+ #: inc/core/classes/class-message-admin.php:636
157
+ #: inc/core/classes/class-message-admin.php:924
158
  msgid "Trash"
159
  msgstr ""
160
 
167
  msgstr ""
168
 
169
  #: inc/core/classes/class-form-controller.php:92
170
+ #: inc/core/classes/class-message-admin.php:397
171
+ #: inc/core/classes/class-message-admin.php:909
172
  msgid "Form"
173
  msgstr ""
174
 
828
  msgstr[0] ""
829
  msgstr[1] ""
830
 
831
+ #: inc/core/classes/class-message-admin.php:347
832
  msgid "Pagination"
833
  msgstr ""
834
 
835
+ #: inc/core/classes/class-message-admin.php:348
836
  msgid "Number of responses per page:"
837
  msgstr ""
838
 
839
+ #: inc/core/classes/class-message-admin.php:352
840
  msgid "Fields"
841
  msgstr ""
842
 
843
+ #: inc/core/classes/class-message-admin.php:353
844
  msgid "Number of response fields to show:"
845
  msgstr ""
846
 
847
+ #: inc/core/classes/class-message-admin.php:394
848
+ #: inc/core/classes/class-message-admin.php:773
849
  #: inc/core/classes/class-message-controller.php:652
850
  #: inc/core/classes/class-message-controller.php:806
851
  #: inc/core/classes/class-message-controller.php:873
853
  msgid "Tracking number"
854
  msgstr ""
855
 
856
+ #: inc/core/classes/class-message-admin.php:562
857
  msgid "All forms"
858
  msgstr ""
859
 
860
+ #: inc/core/classes/class-message-admin.php:634
861
+ #: inc/core/classes/class-message-admin.php:919
862
  msgid "Mark read"
863
  msgstr ""
864
 
865
+ #: inc/core/classes/class-message-admin.php:635
866
+ #: inc/core/classes/class-message-admin.php:919
867
  msgid "Mark unread"
868
  msgstr ""
869
 
870
+ #: inc/core/classes/class-message-admin.php:640
871
  msgid "Export to CSV"
872
  msgstr ""
873
 
874
+ #: inc/core/classes/class-message-admin.php:708
875
  msgid "View"
876
  msgstr ""
877
 
878
+ #: inc/core/classes/class-message-admin.php:712
879
  msgid "Delete Permanently"
880
  msgstr ""
881
 
882
+ #: inc/core/classes/class-message-admin.php:894
883
  msgid "Details"
884
  msgstr ""
885
 
886
+ #: inc/core/classes/class-message-admin.php:914
887
  msgid "Submitted on"
888
  msgstr ""
889
 
890
+ #: inc/core/classes/class-message-admin.php:914
891
  msgid "M j, Y @ H:i"
892
  msgstr ""
893
 
894
+ #: inc/core/classes/class-message-admin.php:919
895
  msgid "Status"
896
  msgstr ""
897
 
898
+ #: inc/core/classes/class-message-admin.php:919
899
  msgid "Read"
900
  msgstr ""
901
 
902
+ #: inc/core/classes/class-message-admin.php:919
903
  msgid "Unread"
904
  msgstr ""
905
 
readme.txt CHANGED
@@ -3,9 +3,9 @@
3
  Contributors: thethemefoundry
4
  Tags: contact, contact form, email, feedback form, form, form builder, custom form, lead generation, survey form, quote form
5
  Requires at least: 4.8
6
- Tested up to: 5.0.1
7
  Requires PHP: 5.2.4
8
- Stable tag: 1.6.16
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -80,6 +80,9 @@ Absolutely! HappyForms gets out of the way and is designed to work with any them
80
 
81
  == Changelog ==
82
 
 
 
 
83
  = 1.6.16 =
84
  * New feature: It's now possible to tweak wording for "optional" part label.
85
  * Improvement: New filter that allows for customization of form submission response json.
@@ -355,6 +358,9 @@ Absolutely! HappyForms gets out of the way and is designed to work with any them
355
 
356
  == Upgrade Notice ==
357
 
 
 
 
358
  = 1.6.16 =
359
  * Miscellaneous improvements and bugfixes.
360
 
3
  Contributors: thethemefoundry
4
  Tags: contact, contact form, email, feedback form, form, form builder, custom form, lead generation, survey form, quote form
5
  Requires at least: 4.8
6
+ Tested up to: 5.0.2
7
  Requires PHP: 5.2.4
8
+ Stable tag: 1.6.17
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
80
 
81
  == Changelog ==
82
 
83
+ = 1.6.17 =
84
+ * Bugfix: Address part was preventing forms from working correctly.
85
+
86
  = 1.6.16 =
87
  * New feature: It's now possible to tweak wording for "optional" part label.
88
  * Improvement: New filter that allows for customization of form submission response json.
358
 
359
  == Upgrade Notice ==
360
 
361
+ = 1.6.17 =
362
+ * Address part bugfixes.
363
+
364
  = 1.6.16 =
365
  * Miscellaneous improvements and bugfixes.
366