Version Description
- Bugfix: email alert and confirmation options were being ignored.
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.5.10 |
Comparing to | |
See all releases |
Code changes from version 1.5.9 to 1.5.10
- happyforms.php +2 -2
- inc/classes/class-message-controller.php +5 -2
- languages/happyforms.pot +4 -4
- readme.txt +8 -2
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.5.
|
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.5.
|
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.5.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.5.10' );
|
17 |
|
18 |
if ( ! function_exists( 'happyforms_plugin_file' ) ):
|
19 |
/**
|
inc/classes/class-message-controller.php
CHANGED
@@ -312,9 +312,12 @@ class HappyForms_Message_Controller {
|
|
312 |
}
|
313 |
|
314 |
$message = $this->get( $message_id );
|
315 |
-
$this->email_owner_confirmation( $form, $message );
|
316 |
|
317 |
-
if ( 1
|
|
|
|
|
|
|
|
|
318 |
$this->email_user_confirmation( $form, $message );
|
319 |
}
|
320 |
|
312 |
}
|
313 |
|
314 |
$message = $this->get( $message_id );
|
|
|
315 |
|
316 |
+
if ( 1 === intval( $form['receive_email_alerts'] ) ) {
|
317 |
+
$this->email_owner_confirmation( $form, $message );
|
318 |
+
}
|
319 |
+
|
320 |
+
if ( 1 === intval( $form['send_confirmation_email'] ) ) {
|
321 |
$this->email_user_confirmation( $form, $message );
|
322 |
}
|
323 |
|
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.5.
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
-
"POT-Creation-Date: 2018-08-21
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -192,8 +192,8 @@ msgstr ""
|
|
192 |
|
193 |
#: inc/classes/class-form-controller.php:765
|
194 |
#: inc/classes/class-message-controller.php:271
|
195 |
-
#: inc/classes/class-message-controller.php:
|
196 |
-
#: inc/classes/class-message-controller.php:
|
197 |
msgid "Your submission contains errors."
|
198 |
msgstr ""
|
199 |
|
2 |
# This file is distributed under the same license as the HappyForms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: HappyForms 1.5.10\n"
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
+
"POT-Creation-Date: 2018-08-21 15:12:10+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
192 |
|
193 |
#: inc/classes/class-form-controller.php:765
|
194 |
#: inc/classes/class-message-controller.php:271
|
195 |
+
#: inc/classes/class-message-controller.php:362
|
196 |
+
#: inc/classes/class-message-controller.php:397
|
197 |
msgid "Your submission contains errors."
|
198 |
msgstr ""
|
199 |
|
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: 4.9.7
|
7 |
Requires PHP: 5.2.4
|
8 |
-
Stable tag: 1.5.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -75,8 +75,11 @@ Absolutely! HappyForms gets out of the way and is designed to work with any them
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
78 |
= 1.5.9 =
|
79 |
-
* A division-by-zero bug prevented table part from working correctly.
|
80 |
|
81 |
= 1.5.8 =
|
82 |
* Bugfix: form serialized data missed URI encoding.
|
@@ -218,6 +221,9 @@ Absolutely! HappyForms gets out of the way and is designed to work with any them
|
|
218 |
|
219 |
== Upgrade Notice ==
|
220 |
|
|
|
|
|
|
|
221 |
= 1.5.9 =
|
222 |
* Bugfixes.
|
223 |
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 4.9.7
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 1.5.10
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.5.10 =
|
79 |
+
* Bugfix: email alert and confirmation options were being ignored.
|
80 |
+
|
81 |
= 1.5.9 =
|
82 |
+
* Bugfix: A division-by-zero bug prevented table part from working correctly.
|
83 |
|
84 |
= 1.5.8 =
|
85 |
* Bugfix: form serialized data missed URI encoding.
|
221 |
|
222 |
== Upgrade Notice ==
|
223 |
|
224 |
+
= 1.5.10 =
|
225 |
+
* Email alerts bugfixes.
|
226 |
+
|
227 |
= 1.5.9 =
|
228 |
* Bugfixes.
|
229 |
|