Version Description
- Bugfix: Migrations were triggering errors during activation.
- Bugfix: Reply-to email handling had been deactivated.
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.8.4 |
Comparing to | |
See all releases |
Code changes from version 1.8.3 to 1.8.4
- happyforms.php +2 -2
- inc/classes/class-message-controller.php +7 -0
- inc/classes/class-migrations.php +0 -9
- languages/happyforms.pot +3 -3
- readme.txt +8 -1
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 |
* 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.
|
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.4
|
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.4' );
|
17 |
|
18 |
if ( ! function_exists( 'happyforms_plugin_file' ) ):
|
19 |
/**
|
inc/classes/class-message-controller.php
CHANGED
@@ -564,6 +564,13 @@ class HappyForms_Message_Controller {
|
|
564 |
}
|
565 |
}
|
566 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
567 |
ob_start();
|
568 |
$response = $message;
|
569 |
require_once( happyforms_owner_email_template_path() );
|
564 |
}
|
565 |
}
|
566 |
|
567 |
+
$email_part = happyforms_get_form_controller()->get_first_part_by_type( $form, 'email' );
|
568 |
+
|
569 |
+
if ( false !== $email_part ) {
|
570 |
+
$reply_to = happyforms_get_message_part_value( $message[$part_id], $email_part );
|
571 |
+
$email_message->set_reply_to( $reply_to );
|
572 |
+
}
|
573 |
+
|
574 |
ob_start();
|
575 |
$response = $message;
|
576 |
require_once( happyforms_owner_email_template_path() );
|
inc/classes/class-migrations.php
CHANGED
@@ -111,15 +111,6 @@ class HappyForms_Migrations {
|
|
111 |
|
112 |
$wpdb->query( $sql );
|
113 |
}
|
114 |
-
|
115 |
-
// Reword titles
|
116 |
-
$sql = "
|
117 |
-
UPDATE $wpdb->posts posts
|
118 |
-
SET posts.post_title = CONCAT('response #', posts.ID)
|
119 |
-
WHERE posts.post_type = '$message_controller->post_type'
|
120 |
-
";
|
121 |
-
|
122 |
-
$wpdb->query( $sql );
|
123 |
}
|
124 |
|
125 |
public function migrate_1_1( $version, $current_version ) {
|
111 |
|
112 |
$wpdb->query( $sql );
|
113 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
}
|
115 |
|
116 |
public function migrate_1_1( $version, $current_version ) {
|
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.
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
-
"POT-Creation-Date: 2019-05-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -289,7 +289,7 @@ msgstr ""
|
|
289 |
msgid "Upgrade"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: inc/classes/class-message-controller.php:
|
293 |
#: inc/templates/email-owner.php:29
|
294 |
msgid "Tracking number"
|
295 |
msgstr ""
|
2 |
# This file is distributed under the same license as the HappyForms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: HappyForms 1.8.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
+
"POT-Creation-Date: 2019-05-04 15:37: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"
|
289 |
msgid "Upgrade"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: inc/classes/class-message-controller.php:681
|
293 |
#: inc/templates/email-owner.php:29
|
294 |
msgid "Tracking number"
|
295 |
msgstr ""
|
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.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -107,6 +107,10 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more po
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
|
|
110 |
= 1.8.3 =
|
111 |
* Bugfix: A typo in helper file was preventing submissions from completing.
|
112 |
|
@@ -492,6 +496,9 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more po
|
|
492 |
|
493 |
== Upgrade Notice ==
|
494 |
|
|
|
|
|
|
|
495 |
= 1.8.3 =
|
496 |
* Bugfixes.
|
497 |
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.1
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 1.8.4
|
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.4 =
|
111 |
+
* Bugfix: Migrations were triggering errors during activation.
|
112 |
+
* Bugfix: Reply-to email handling had been deactivated.
|
113 |
+
|
114 |
= 1.8.3 =
|
115 |
* Bugfix: A typo in helper file was preventing submissions from completing.
|
116 |
|
496 |
|
497 |
== Upgrade Notice ==
|
498 |
|
499 |
+
= 1.8.4 =
|
500 |
+
* Bugfixes.
|
501 |
+
|
502 |
= 1.8.3 =
|
503 |
* Bugfixes.
|
504 |
|