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

Version Description

  • Bugfix: Fixed fatal error when visiting Appearance -> Customize screen.
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.8.10
Comparing to
See all releases

Code changes from version 1.8.9 to 1.8.10

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.8.9
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.8.9' );
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.8.10
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.8.10' );
17
 
18
  if ( ! function_exists( 'happyforms_plugin_file' ) ):
19
  /**
inc/core/classes/class-wp-customize-form-manager.php CHANGED
@@ -16,7 +16,6 @@ class HappyForms_WP_Customize_Form_Manager {
16
  */
17
  public function __construct() {
18
  require_once( happyforms_get_include_folder() . '/core/helpers/helper-validation.php' );
19
- require_once( happyforms_get_include_folder() . '/core/helpers/helper-customize-templates.php' );
20
 
21
  /*
22
  * Note the customize_register action is triggered in
16
  */
17
  public function __construct() {
18
  require_once( happyforms_get_include_folder() . '/core/helpers/helper-validation.php' );
 
19
 
20
  /*
21
  * Note the customize_register action is triggered in
inc/core/helpers/helper-customize-templates.php DELETED
@@ -1,35 +0,0 @@
1
- <?php
2
-
3
- if ( ! function_exists( 'happyforms_months_dropdown' ) ):
4
- /**
5
- * Output a generic 1-12 dropdown.
6
- *
7
- * @since 1.0
8
- *
9
- * @return void
10
- */
11
- function happyforms_months_dropdown() {
12
- for ( $m = 1; $m <= 12; $m ++ ):
13
- $t = strtotime( sprintf( '%d months', $m ) );
14
- ?>
15
- <option value="<?php echo sprintf( '%02d', $m ); ?>"><?php echo sprintf( '%02d', $m ) . '-' . date( 'M', $t ); ?></option>
16
- <?php endfor;
17
- }
18
-
19
- endif;
20
-
21
- if ( ! function_exists( 'happyforms_customize_logic_template_path' ) ) :
22
-
23
- function happyforms_customize_part_logic() {
24
- $template_path = happyforms_get_include_folder() . '/core/templates/customize-form-part-logic.php';
25
-
26
- $template_path = apply_filters( 'happyforms_customize_part_logic_template_path', $template_path );
27
-
28
- ob_start();
29
- require( $template_path );
30
- $template_html = ob_get_clean();
31
-
32
- echo $template_html;
33
- }
34
-
35
- endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/core/helpers/helper-misc.php CHANGED
@@ -887,3 +887,19 @@ function happyforms_customize_part_footer() {
887
  }
888
 
889
  endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
887
  }
888
 
889
  endif;
890
+
891
+ if ( ! function_exists( 'happyforms_customize_part_logic' ) ) :
892
+
893
+ function happyforms_customize_part_logic() {
894
+ $template_path = happyforms_get_include_folder() . '/core/templates/customize-form-part-logic.php';
895
+
896
+ $template_path = apply_filters( 'happyforms_customize_part_logic_template_path', $template_path );
897
+
898
+ ob_start();
899
+ require( $template_path );
900
+ $template_html = ob_get_clean();
901
+
902
+ echo $template_html;
903
+ }
904
+
905
+ endif;
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.8.9\n"
6
  "Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
7
- "POT-Creation-Date: 2019-07-03 13:11:34+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -1102,58 +1102,58 @@ msgstr ""
1102
  msgid "Error description"
1103
  msgstr ""
1104
 
1105
- #: inc/core/classes/class-wp-customize-form-manager.php:164
1106
  msgid "Form saved 👏"
1107
  msgstr ""
1108
 
1109
- #: inc/core/classes/class-wp-customize-form-manager.php:165
1110
  msgid "There are two ways to embed your form. Here goes…"
1111
  msgstr ""
1112
 
1113
- #: inc/core/classes/class-wp-customize-form-manager.php:166
1114
  msgid "Add HappyForms to your page or post"
1115
  msgstr ""
1116
 
1117
- #: inc/core/classes/class-wp-customize-form-manager.php:167
1118
  msgid "In your Edit Post / Edit Page screen, click Add Block."
1119
  msgstr ""
1120
 
1121
- #: inc/core/classes/class-wp-customize-form-manager.php:167
1122
  msgid "Select the HappyForms content block."
1123
  msgstr ""
1124
 
1125
- #: inc/core/classes/class-wp-customize-form-manager.php:167
1126
- #: inc/core/classes/class-wp-customize-form-manager.php:172
1127
  msgid "Select a form in the Form dropdown."
1128
  msgstr ""
1129
 
1130
- #: inc/core/classes/class-wp-customize-form-manager.php:167
1131
  msgid "That's it! You'll see a basic preview of your form in the editor."
1132
  msgstr ""
1133
 
1134
- #: inc/core/classes/class-wp-customize-form-manager.php:168
1135
  msgid "Use HappyForms in a widget area"
1136
  msgstr ""
1137
 
1138
- #: inc/core/classes/class-wp-customize-form-manager.php:170
1139
  msgid "Head over to Appearance &rarr; <a href=\"%s\">Widgets</a> screen."
1140
  msgstr ""
1141
 
1142
- #: inc/core/classes/class-wp-customize-form-manager.php:171
1143
  msgid "Drag the HappyForms widget to your sidebar."
1144
  msgstr ""
1145
 
1146
- #: inc/core/classes/class-wp-customize-form-manager.php:173
1147
  msgid "All done!"
1148
  msgstr ""
1149
 
1150
- #: inc/core/classes/class-wp-customize-form-manager.php:175
1151
  msgid ""
1152
  "Still have questions? Head over to our <a href=\"%s\" "
1153
  "target=\"_blank\">Help Guide</a>."
1154
  msgstr ""
1155
 
1156
- #: inc/core/classes/class-wp-customize-form-manager.php:182
1157
  msgid ""
1158
  "Form saved. You can add this form to any Page, Post and Widget area. Have "
1159
  "questions? <a href=\"%s\" target=\"_blank\">Ask for help in our support "
2
  # This file is distributed under the same license as the HappyForms package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: HappyForms 1.8.10\n"
6
  "Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
7
+ "POT-Creation-Date: 2019-07-04 06:39:29+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
1102
  msgid "Error description"
1103
  msgstr ""
1104
 
1105
+ #: inc/core/classes/class-wp-customize-form-manager.php:163
1106
  msgid "Form saved 👏"
1107
  msgstr ""
1108
 
1109
+ #: inc/core/classes/class-wp-customize-form-manager.php:164
1110
  msgid "There are two ways to embed your form. Here goes…"
1111
  msgstr ""
1112
 
1113
+ #: inc/core/classes/class-wp-customize-form-manager.php:165
1114
  msgid "Add HappyForms to your page or post"
1115
  msgstr ""
1116
 
1117
+ #: inc/core/classes/class-wp-customize-form-manager.php:166
1118
  msgid "In your Edit Post / Edit Page screen, click Add Block."
1119
  msgstr ""
1120
 
1121
+ #: inc/core/classes/class-wp-customize-form-manager.php:166
1122
  msgid "Select the HappyForms content block."
1123
  msgstr ""
1124
 
1125
+ #: inc/core/classes/class-wp-customize-form-manager.php:166
1126
+ #: inc/core/classes/class-wp-customize-form-manager.php:171
1127
  msgid "Select a form in the Form dropdown."
1128
  msgstr ""
1129
 
1130
+ #: inc/core/classes/class-wp-customize-form-manager.php:166
1131
  msgid "That's it! You'll see a basic preview of your form in the editor."
1132
  msgstr ""
1133
 
1134
+ #: inc/core/classes/class-wp-customize-form-manager.php:167
1135
  msgid "Use HappyForms in a widget area"
1136
  msgstr ""
1137
 
1138
+ #: inc/core/classes/class-wp-customize-form-manager.php:169
1139
  msgid "Head over to Appearance &rarr; <a href=\"%s\">Widgets</a> screen."
1140
  msgstr ""
1141
 
1142
+ #: inc/core/classes/class-wp-customize-form-manager.php:170
1143
  msgid "Drag the HappyForms widget to your sidebar."
1144
  msgstr ""
1145
 
1146
+ #: inc/core/classes/class-wp-customize-form-manager.php:172
1147
  msgid "All done!"
1148
  msgstr ""
1149
 
1150
+ #: inc/core/classes/class-wp-customize-form-manager.php:174
1151
  msgid ""
1152
  "Still have questions? Head over to our <a href=\"%s\" "
1153
  "target=\"_blank\">Help Guide</a>."
1154
  msgstr ""
1155
 
1156
+ #: inc/core/classes/class-wp-customize-form-manager.php:181
1157
  msgid ""
1158
  "Form saved. You can add this form to any Page, Post and Widget area. Have "
1159
  "questions? <a href=\"%s\" target=\"_blank\">Ask for help in our support "
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: contact, contact form, email, feedback form, form, form builder, custom fo
5
  Requires at least: 4.8
6
  Tested up to: 5.2
7
  Requires PHP: 5.3
8
- Stable tag: 1.8.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -107,6 +107,9 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more po
107
 
108
  == Changelog ==
109
 
 
 
 
110
  = 1.8.9 =
111
  * New feature: New 'Google reCAPTCHA theme' setting in Style step.
112
  * Improvement: Various improvements to styles in HappyForms UI.
@@ -520,6 +523,9 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more po
520
 
521
  == Upgrade Notice ==
522
 
 
 
 
523
  = 1.8.9 =
524
  * Google reCAPTCHA theme setting, improvements, and bugfixes.
525
 
5
  Requires at least: 4.8
6
  Tested up to: 5.2
7
  Requires PHP: 5.3
8
+ Stable tag: 1.8.10
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
107
 
108
  == Changelog ==
109
 
110
+ = 1.8.10 =
111
+ * Bugfix: Fixed fatal error when visiting Appearance -> Customize screen.
112
+
113
  = 1.8.9 =
114
  * New feature: New 'Google reCAPTCHA theme' setting in Style step.
115
  * Improvement: Various improvements to styles in HappyForms UI.
523
 
524
  == Upgrade Notice ==
525
 
526
+ = 1.8.10 =
527
+ * Fixed fatal error in Customizer screen.
528
+
529
  = 1.8.9 =
530
  * Google reCAPTCHA theme setting, improvements, and bugfixes.
531