Version Description
- Bugfix: Redirect URL feature could cause fatal error in some environments.
- Bugfix: Alignment fixes in form preview step.
Download this release
Release Info
Developer | thethemefoundry |
Plugin | Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms |
Version | 1.7.9 |
Comparing to | |
See all releases |
Code changes from version 1.7.8 to 1.7.9
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.7.
|
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.7.
|
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.7.9
|
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.7.9' );
|
17 |
|
18 |
if ( ! function_exists( 'happyforms_plugin_file' ) ):
|
19 |
/**
|
inc/core/assets/css/layout.css
CHANGED
@@ -2031,7 +2031,7 @@ input[type=submit][disabled].happyforms-button--submit {
|
|
2031 |
.happyforms-part-preview {
|
2032 |
margin-bottom: 0;
|
2033 |
padding: 10px 1%;
|
2034 |
-
margin: 0
|
2035 |
}
|
2036 |
|
2037 |
.happyforms-part-preview {
|
2031 |
.happyforms-part-preview {
|
2032 |
margin-bottom: 0;
|
2033 |
padding: 10px 1%;
|
2034 |
+
margin: 0;
|
2035 |
}
|
2036 |
|
2037 |
.happyforms-part-preview {
|
inc/core/classes/class-form-controller.php
CHANGED
@@ -507,7 +507,9 @@ class HappyForms_Form_Controller {
|
|
507 |
foreach ( $form_array['layout'] as $p => $part_id ) {
|
508 |
$part = $form_array[$part_id];
|
509 |
$part_class = happyforms_get_part_library()->get_part( $part['type'] );
|
510 |
-
|
|
|
|
|
511 |
unset( $form_array[$part_id] );
|
512 |
}
|
513 |
|
507 |
foreach ( $form_array['layout'] as $p => $part_id ) {
|
508 |
$part = $form_array[$part_id];
|
509 |
$part_class = happyforms_get_part_library()->get_part( $part['type'] );
|
510 |
+
if ( $part_class ) {
|
511 |
+
$form_array['parts'][] = wp_parse_args( $part, $part_class->get_customize_defaults() );
|
512 |
+
}
|
513 |
unset( $form_array[$part_id] );
|
514 |
}
|
515 |
|
inc/core/classes/class-message-controller.php
CHANGED
@@ -356,8 +356,10 @@ class HappyForms_Message_Controller {
|
|
356 |
// Update the unread badge
|
357 |
$this->update_badge_transient();
|
358 |
|
|
|
|
|
359 |
if ( happyforms_get_form_property( $form, 'redirect_on_complete' ) &&
|
360 |
-
! empty(
|
361 |
|
362 |
$response['redirect'] = $form['redirect_url'];
|
363 |
$response['redirect_to_blank'] = intval( happyforms_get_form_property( $form, 'redirect_blank' ) );
|
356 |
// Update the unread badge
|
357 |
$this->update_badge_transient();
|
358 |
|
359 |
+
$redirect_url = happyforms_get_form_property( $form, 'redirect_url' );
|
360 |
+
|
361 |
if ( happyforms_get_form_property( $form, 'redirect_on_complete' ) &&
|
362 |
+
! empty( $redirect_url ) ) {
|
363 |
|
364 |
$response['redirect'] = $form['redirect_url'];
|
365 |
$response['redirect_to_blank'] = intval( happyforms_get_form_property( $form, 'redirect_blank' ) );
|
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.7.
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
-
"POT-Creation-Date: 2019-04-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -270,14 +270,14 @@ msgstr ""
|
|
270 |
msgid "Untitled form"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: inc/core/classes/class-form-controller.php:
|
274 |
msgid " Copy"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: inc/core/classes/class-form-controller.php:
|
278 |
#: inc/core/classes/class-message-controller.php:320
|
279 |
-
#: inc/core/classes/class-message-controller.php:
|
280 |
-
#: inc/core/classes/class-message-controller.php:
|
281 |
msgid "Oops! Your response is invalid — please review your message."
|
282 |
msgstr ""
|
283 |
|
@@ -1115,7 +1115,7 @@ msgstr ""
|
|
1115 |
|
1116 |
#: inc/core/classes/class-message-admin.php:394
|
1117 |
#: inc/core/classes/class-message-admin.php:781
|
1118 |
-
#: inc/core/classes/class-message-controller.php:
|
1119 |
#: inc/core/templates/admin-message-edit.php:27
|
1120 |
#: inc/core/templates/email-owner.php:29 inc/core/templates/email-user.php:21
|
1121 |
msgid "Tracking number"
|
2 |
# This file is distributed under the same license as the HappyForms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: HappyForms 1.7.9\n"
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
+
"POT-Creation-Date: 2019-04-16 08:57:50+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
270 |
msgid "Untitled form"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: inc/core/classes/class-form-controller.php:616
|
274 |
msgid " Copy"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: inc/core/classes/class-form-controller.php:794
|
278 |
#: inc/core/classes/class-message-controller.php:320
|
279 |
+
#: inc/core/classes/class-message-controller.php:425
|
280 |
+
#: inc/core/classes/class-message-controller.php:460
|
281 |
msgid "Oops! Your response is invalid — please review your message."
|
282 |
msgstr ""
|
283 |
|
1115 |
|
1116 |
#: inc/core/classes/class-message-admin.php:394
|
1117 |
#: inc/core/classes/class-message-admin.php:781
|
1118 |
+
#: inc/core/classes/class-message-controller.php:679
|
1119 |
#: inc/core/templates/admin-message-edit.php:27
|
1120 |
#: inc/core/templates/email-owner.php:29 inc/core/templates/email-user.php:21
|
1121 |
msgid "Tracking number"
|
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.1
|
7 |
Requires PHP: 5.3
|
8 |
-
Stable tag: 1.7.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -99,6 +99,10 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more po
|
|
99 |
|
100 |
== Changelog ==
|
101 |
|
|
|
|
|
|
|
|
|
102 |
= 1.7.8 =
|
103 |
* New feature: It's now possible to configure Bcc addresses for email alerts.
|
104 |
* New feature: Narrative part now supports input placeholders between brackets.
|
@@ -463,6 +467,9 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more po
|
|
463 |
|
464 |
== Upgrade Notice ==
|
465 |
|
|
|
|
|
|
|
466 |
= 1.7.8 =
|
467 |
* Bcc email support, Narrative part placeholders, open redirect link in a new tab, bugfixes.
|
468 |
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.1
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 1.7.9
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
99 |
|
100 |
== Changelog ==
|
101 |
|
102 |
+
= 1.7.9 =
|
103 |
+
* Bugfix: Redirect URL feature could cause fatal error in some environments.
|
104 |
+
* Bugfix: Alignment fixes in form preview step.
|
105 |
+
|
106 |
= 1.7.8 =
|
107 |
* New feature: It's now possible to configure Bcc addresses for email alerts.
|
108 |
* New feature: Narrative part now supports input placeholders between brackets.
|
467 |
|
468 |
== Upgrade Notice ==
|
469 |
|
470 |
+
= 1.7.9 =
|
471 |
+
* Bug fixes.
|
472 |
+
|
473 |
= 1.7.8 =
|
474 |
* Bcc email support, Narrative part placeholders, open redirect link in a new tab, bugfixes.
|
475 |
|