Version Description
- Fixed bug in form edition
Download this release
Release Info
Developer | codepeople |
Plugin | Contact Form Email |
Version | 1.2.74 |
Comparing to | |
See all releases |
Code changes from version 1.2.73 to 1.2.74
- README.txt +5 -2
- cp-main-class.inc.php +3 -2
- form-to-email.php +1 -2
- js/fbuilderf.jquery.js +1 -1
README.txt
CHANGED
@@ -454,6 +454,9 @@ When you click a field already added into the contact form builder area, you can
|
|
454 |
|
455 |
== Changelog ==
|
456 |
|
|
|
|
|
|
|
457 |
= 1.2.73 =
|
458 |
* Removed empty spaces/line breaks causing script conflicts
|
459 |
|
@@ -980,5 +983,5 @@ When you click a field already added into the contact form builder area, you can
|
|
980 |
|
981 |
== Upgrade Notice ==
|
982 |
|
983 |
-
= 1.2.
|
984 |
-
*
|
454 |
|
455 |
== Changelog ==
|
456 |
|
457 |
+
= 1.2.74 =
|
458 |
+
* Fixed bug in form edition
|
459 |
+
|
460 |
= 1.2.73 =
|
461 |
* Removed empty spaces/line breaks causing script conflicts
|
462 |
|
983 |
|
984 |
== Upgrade Notice ==
|
985 |
|
986 |
+
= 1.2.74 =
|
987 |
+
* Fixed bug in form edition
|
cp-main-class.inc.php
CHANGED
@@ -450,6 +450,7 @@ class CP_ContactFormToEmail extends CP_CFTEMAIL_BaseClass {
|
|
450 |
@include_once dirname( __FILE__ ) . '/cp-admin-int-list.inc.php';
|
451 |
}
|
452 |
|
|
|
453 |
function gutenberg_block() {
|
454 |
global $wpdb;
|
455 |
|
@@ -885,7 +886,7 @@ class CP_ContactFormToEmail extends CP_CFTEMAIL_BaseClass {
|
|
885 |
|
886 |
$this->item = $_POST[$this->prefix."_id"];
|
887 |
|
888 |
-
|
889 |
foreach ($_POST as $item => $value)
|
890 |
if (!is_array($value))
|
891 |
$_POST[$item] = stripcslashes($value);
|
@@ -920,7 +921,7 @@ class CP_ContactFormToEmail extends CP_CFTEMAIL_BaseClass {
|
|
920 |
'fp_emailformat' => $_POST['fp_emailformat'],
|
921 |
|
922 |
'cu_enable_copy_to_user' => $_POST['cu_enable_copy_to_user'],
|
923 |
-
'cu_user_email_field' =>
|
924 |
'cu_subject' => $_POST['cu_subject'],
|
925 |
'cu_message' => $_POST['cu_message'],
|
926 |
'cu_emailformat' => $_POST['cu_emailformat'],
|
450 |
@include_once dirname( __FILE__ ) . '/cp-admin-int-list.inc.php';
|
451 |
}
|
452 |
|
453 |
+
|
454 |
function gutenberg_block() {
|
455 |
global $wpdb;
|
456 |
|
886 |
|
887 |
$this->item = $_POST[$this->prefix."_id"];
|
888 |
|
889 |
+
while ((substr_count($_POST['form_structure'],"\\") > 30) || substr_count($_POST['form_structure'],"\\\"title\\\":"))
|
890 |
foreach ($_POST as $item => $value)
|
891 |
if (!is_array($value))
|
892 |
$_POST[$item] = stripcslashes($value);
|
921 |
'fp_emailformat' => $_POST['fp_emailformat'],
|
922 |
|
923 |
'cu_enable_copy_to_user' => $_POST['cu_enable_copy_to_user'],
|
924 |
+
'cu_user_email_field' => @$_POST['cu_user_email_field'],
|
925 |
'cu_subject' => $_POST['cu_subject'],
|
926 |
'cu_message' => $_POST['cu_message'],
|
927 |
'cu_emailformat' => $_POST['cu_emailformat'],
|
form-to-email.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Contact Form Email
|
4 |
Plugin URI: https://form2email.dwbooster.com/download
|
5 |
Description: Contact form that sends the data to email and also to a database list and CSV file.
|
6 |
-
Version: 1.2.
|
7 |
Author: CodePeople
|
8 |
Author URI: https://form2email.dwbooster.com
|
9 |
Text Domain: contact-form-to-email
|
@@ -94,7 +94,6 @@ if ( is_admin() ) {
|
|
94 |
add_shortcode( $cp_cfte_plugin->shorttag, array($cp_cfte_plugin, 'filter_content') );
|
95 |
}
|
96 |
|
97 |
-
|
98 |
// register gutemberg block
|
99 |
if (function_exists('register_block_type'))
|
100 |
{
|
3 |
Plugin Name: Contact Form Email
|
4 |
Plugin URI: https://form2email.dwbooster.com/download
|
5 |
Description: Contact form that sends the data to email and also to a database list and CSV file.
|
6 |
+
Version: 1.2.74
|
7 |
Author: CodePeople
|
8 |
Author URI: https://form2email.dwbooster.com
|
9 |
Text Domain: contact-form-to-email
|
94 |
add_shortcode( $cp_cfte_plugin->shorttag, array($cp_cfte_plugin, 'filter_content') );
|
95 |
}
|
96 |
|
|
|
97 |
// register gutemberg block
|
98 |
if (function_exists('register_block_type'))
|
99 |
{
|
js/fbuilderf.jquery.js
CHANGED
@@ -631,7 +631,7 @@ jQuery(window).on('load', function(){
|
|
631 |
return '<div><label>Instructions for User</label><textarea class="large" name="sUserhelp" id="sUserhelp">'+v+'</textarea><br /><input type="checkbox" name="sUserhelpTooltip" id="sUserhelpTooltip" '+((c)?"checked":"")+' value="1" > Show as floating tooltip.</div>';
|
632 |
},
|
633 |
showCsslayout: function(v) {
|
634 |
-
return '<label>
|
635 |
}
|
636 |
};
|
637 |
var fform=function(){};
|
631 |
return '<div><label>Instructions for User</label><textarea class="large" name="sUserhelp" id="sUserhelp">'+v+'</textarea><br /><input type="checkbox" name="sUserhelpTooltip" id="sUserhelpTooltip" '+((c)?"checked":"")+' value="1" > Show as floating tooltip.</div>';
|
632 |
},
|
633 |
showCsslayout: function(v) {
|
634 |
+
return '<label>Additional CSS Class</label><input class="large" name="sCsslayout" id="sCsslayout" value="'+v+'" />';
|
635 |
}
|
636 |
};
|
637 |
var fform=function(){};
|