Version Description
- Changed: Improved captcha security
- Fixed:Bug On email field
Download this release
Release Info
Developer | webdorado |
Plugin | Contact Form by WD – responsive drag & drop contact form builder tool |
Version | 1.8.41 |
Comparing to | |
See all releases |
Code changes from version 1.8.40 to 1.8.41
- contact-form-maker.php +2 -2
- frontend/models/FMModelForm_maker_fmc.php +37 -30
- frontend/views/FMViewForm_maker_fmc.php +1 -1
- readme.txt +27 -11
contact-form-maker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Contact Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
|
6 |
-
* Version: 1.8.
|
7 |
* Author: WebDorado
|
8 |
* Author URI: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -262,7 +262,7 @@ function form_maker_activate_cfm() {
|
|
262 |
return false;
|
263 |
}
|
264 |
$version = get_option("wd_form_maker_version");
|
265 |
-
$new_version = '1.8.
|
266 |
global $wpdb;
|
267 |
if (!$version) {
|
268 |
|
3 |
* Plugin Name: Contact Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
|
6 |
+
* Version: 1.8.41
|
7 |
* Author: WebDorado
|
8 |
* Author URI: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
262 |
return false;
|
263 |
}
|
264 |
$version = get_option("wd_form_maker_version");
|
265 |
+
$new_version = '1.8.41';
|
266 |
global $wpdb;
|
267 |
if (!$version) {
|
268 |
|
frontend/models/FMModelForm_maker_fmc.php
CHANGED
@@ -92,40 +92,47 @@ class FMModelForm_maker_fmc {
|
|
92 |
}
|
93 |
}
|
94 |
elseif (isset($_POST["g-recaptcha-response"])){
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
|
118 |
-
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
else {
|
121 |
-
|
122 |
-
|
123 |
-
|
|
|
|
|
|
|
|
|
|
|
124 |
}
|
125 |
-
}
|
126 |
-
else {
|
127 |
-
$correct = TRUE;
|
128 |
-
}
|
129 |
if ($correct) {
|
130 |
|
131 |
$ip=$_SERVER['REMOTE_ADDR'];
|
92 |
}
|
93 |
}
|
94 |
elseif (isset($_POST["g-recaptcha-response"])){
|
95 |
+
$privatekey= isset($fmc_settings['private_key']) ? $fmc_settings['private_key'] : '';
|
96 |
+
$captcha = $_POST['g-recaptcha-response'];
|
97 |
+
$url = 'https://www.google.com/recaptcha/api/siteverify';
|
98 |
+
$data = array(
|
99 |
+
'secret' => $privatekey,
|
100 |
+
'response' => $captcha,
|
101 |
+
'remoteip' => $_SERVER['REMOTE_ADDR']
|
102 |
+
);
|
103 |
+
|
104 |
+
$curlConfig = array(
|
105 |
+
CURLOPT_URL => $url,
|
106 |
+
CURLOPT_POST => true,
|
107 |
+
CURLOPT_RETURNTRANSFER => true,
|
108 |
+
CURLOPT_POSTFIELDS => $data
|
109 |
+
);
|
110 |
|
111 |
+
$ch = curl_init();
|
112 |
+
curl_setopt_array($ch, $curlConfig);
|
113 |
+
$response = curl_exec($ch);
|
114 |
+
curl_close($ch);
|
115 |
+
|
116 |
+
$jsonResponse = json_decode($response);
|
117 |
|
118 |
+
if ($jsonResponse->success == "true")
|
119 |
+
$correct = TRUE;
|
120 |
+
else {
|
121 |
+
?>
|
122 |
+
<script>alert("<?php echo addslashes(__('Error, incorrect Security code.', 'form_maker')); ?>");</script>
|
123 |
+
<?php
|
124 |
+
}
|
125 |
+
}
|
126 |
else {
|
127 |
+
if(preg_match('(type_arithmetic_captcha|type_captcha|type_recaptcha)', $form -> label_order_current) === 1){
|
128 |
+
?>
|
129 |
+
<script>alert("<?php echo addslashes(__('Error, incorrect Security code.', 'form_maker')); ?>");</script>
|
130 |
+
<?php
|
131 |
+
$correct = false;
|
132 |
+
}
|
133 |
+
else
|
134 |
+
$correct = true;
|
135 |
}
|
|
|
|
|
|
|
|
|
136 |
if ($correct) {
|
137 |
|
138 |
$ip=$_SERVER['REMOTE_ADDR'];
|
frontend/views/FMViewForm_maker_fmc.php
CHANGED
@@ -1720,7 +1720,7 @@ class FMViewForm_maker_fmc {
|
|
1720 |
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1721 |
{
|
1722 |
|
1723 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()!="" && jQuery("#wdform_'.$id1.'_element'.$form_id.'").val().search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1 )
|
1724 |
{
|
1725 |
alert("' . addslashes(__("This is not a valid email address.", 'form_maker')) . '");
|
1726 |
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1720 |
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1721 |
{
|
1722 |
|
1723 |
+
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()!="" && jQuery.trim(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()).search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1 )
|
1724 |
{
|
1725 |
alert("' . addslashes(__("This is not a valid email address.", 'form_maker')) . '");
|
1726 |
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
readme.txt
CHANGED
@@ -1,29 +1,36 @@
|
|
1 |
-
=== Contact Form ===
|
2 |
Contributors: webdorado
|
3 |
Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html
|
4 |
-
Tags:
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Form plugin is a simple contact form builder tool, which allows the user to create and edit different
|
12 |
|
13 |
== Description ==
|
14 |
Create simple contact forms or complex applications forms with this FREE and intuitive WordPress plugin. No coding knowledge is required.
|
15 |
|
16 |
[WordPress Contact Form Maker](http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html)
|
17 |
|
18 |
-
WordPress Contact Form Maker is a simple contact form
|
19 |
|
20 |
-
The number of fields for the
|
21 |
|
22 |
-
WordPress
|
23 |
|
24 |
-
|
|
|
|
|
25 |
|
26 |
The product has cross-browser compatibility, which allows using the Contact form for with any browser.
|
|
|
|
|
|
|
|
|
|
|
27 |
###IMPORTANT: If you think you found a bug in the Contact Form Maker or have any problem or question concerning Contact Form Maker, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
28 |
|
29 |
|
@@ -38,10 +45,11 @@ The product has cross-browser compatibility, which allows using the Contact form
|
|
38 |
* Section break
|
39 |
* Map
|
40 |
* Button
|
41 |
-
* Possibility to add Custom HTML between the fields
|
|
|
42 |
* Pagination.
|
43 |
* Support for section break.
|
44 |
-
* Possibility of add custom CSS and Javascript.
|
45 |
* Additional attributes for each field to add certain properties using Java Script.
|
46 |
* Submissions are send to the provided admin address(es) and submitter (optional).
|
47 |
* Custom text for admin and users
|
@@ -51,10 +59,13 @@ The product has cross-browser compatibility, which allows using the Contact form
|
|
51 |
* Data validation before the submission of the contact form.
|
52 |
* Detailed Submissions field including the submissions of all contact forms.
|
53 |
* 10 built-in templates.
|
|
|
54 |
* Required and hidden fields for advanced contact forms.
|
55 |
* Conditional fields
|
56 |
|
57 |
|
|
|
|
|
58 |
### Supported languages Of the Contact Form Maker
|
59 |
|
60 |
*If you need language of the Contact Form Maker which is not included in this list, please contact us and we will do the translation of Contact Form Maker within 3 days. If you find any mistakes in the translation of the Contact Form Maker, please contact us and we will make relevant corrections within 3 days.*
|
@@ -107,6 +118,7 @@ Turkish (tr_TR)
|
|
107 |
Ukrainian (uk_UA)
|
108 |
Vietnamese (vi)
|
109 |
|
|
|
110 |
== Installation ==
|
111 |
|
112 |
####Thank you for your interest in [WordPress Contact Form](http://wordpress.org/plugins/contact-form-maker/).
|
@@ -146,6 +158,10 @@ If you want to update the plugin while preserving your existing contact forms, y
|
|
146 |
|
147 |
== Changelog ==
|
148 |
|
|
|
|
|
|
|
|
|
149 |
= 1.8.40 =
|
150 |
* Fixed: bug on "Save as Copy"
|
151 |
* Fixed: Line breaks in textarea after incorrect captcha
|
@@ -158,7 +174,7 @@ If you want to update the plugin while preserving your existing contact forms, y
|
|
158 |
* Changed: Filters now apply to CSV and XML export
|
159 |
|
160 |
= 1.8.38 =
|
161 |
-
* Bug On Search by ID in Submissions
|
162 |
* Added: Mailchimp in featured plugins
|
163 |
|
164 |
= 1.8.37 =
|
1 |
+
=== Contact Form by WD - responsive drag & drop contact form builder tool ===
|
2 |
Contributors: webdorado
|
3 |
Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html
|
4 |
+
Tags: contact, contact form, email, forms, contact forms, custom form, feedback, form builder, form manager, form maker, forms builder, form builder wordpress
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.8.41
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Contact Form by WD plugin is a simple contact form builder tool, which allows the user to create and edit different types of contact forms.
|
12 |
|
13 |
== Description ==
|
14 |
Create simple contact forms or complex applications forms with this FREE and intuitive WordPress plugin. No coding knowledge is required.
|
15 |
|
16 |
[WordPress Contact Form Maker](http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html)
|
17 |
|
18 |
+
WordPress Contact Form Maker is a simple contact form creator, which allows the user with almost no knowledge of programming to create and edit different type of responsive forms. The product is similar to the WordPress Form Maker using most of its functionality, whereas there are also some differences. If want to build complicated contact forms with various field types like Date, Time, Single choice, Multiple choice, etc., than you can use [WordPress Form Builder](http://wordpress.org/extend/plugins/form-maker).
|
19 |
|
20 |
+
The number of fields for the WordPress forms builder plugin is unlimited and having large amount of fields will not cause any malfunctioning of the contact form. You can add different types of contact form fields, including inputs (e.g. e-mail, password, text area, text input and etc.), Captcha (as well as possibility of adding Google standard ReCaptcha), custom and standard buttons, as well as Map field.
|
21 |
|
22 |
+
The WordPress free form builder uses simple and easy to manage backend interface, thus the users who are not able to make code-level changes, will be able to make customization and changes using parameters. The drag and drop form builder allows you to choose from a number of form options to get just the form you need. From simple one line form to a more complex email form for the site or conditional mailing form - the free responsive form builder is a perfect solution for every website.
|
23 |
|
24 |
+
The dynamic web form builder allows you to view and manage all form submissions. The WP form plugin stores submissions in your database for future reference.
|
25 |
+
|
26 |
+
This contact form builder will equally fit the needs of the novice and experienced developers and designers.
|
27 |
|
28 |
The product has cross-browser compatibility, which allows using the Contact form for with any browser.
|
29 |
+
|
30 |
+
Contact Form Maker WordPress plugin comes with pre-built templates, but in case you need custom forms, feel free to create your own advanced forms. The form creation process with the plugin is quick and easy.
|
31 |
+
|
32 |
+
Contact form plugin is a must have free form builder for any website. It allows you to share contact info like address, email, phone, etc., but also allows you to add email forms, making it possible for your users to leave their feedback and comments directly through email submit forms. Try contact form plugin today and create web forms free and easy today!
|
33 |
+
|
34 |
###IMPORTANT: If you think you found a bug in the Contact Form Maker or have any problem or question concerning Contact Form Maker, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
35 |
|
36 |
|
45 |
* Section break
|
46 |
* Map
|
47 |
* Button
|
48 |
+
* Possibility to add Custom HTML between the fields.
|
49 |
+
* Possibility to re-order fields with drag and drop forms functionality.
|
50 |
* Pagination.
|
51 |
* Support for section break.
|
52 |
+
* Possibility of add custom CSS and Javascript to create custom contact forms.
|
53 |
* Additional attributes for each field to add certain properties using Java Script.
|
54 |
* Submissions are send to the provided admin address(es) and submitter (optional).
|
55 |
* Custom text for admin and users
|
59 |
* Data validation before the submission of the contact form.
|
60 |
* Detailed Submissions field including the submissions of all contact forms.
|
61 |
* 10 built-in templates.
|
62 |
+
* Intuitive form editor.
|
63 |
* Required and hidden fields for advanced contact forms.
|
64 |
* Conditional fields
|
65 |
|
66 |
|
67 |
+
Please note that if you’re looking to add more complex, custom online forms, like Stripe form, PayPal form, online application form, order forms, as well as other online custom forms, you can use the Form Maker plugin, which is a more advanced form builder tool.
|
68 |
+
|
69 |
### Supported languages Of the Contact Form Maker
|
70 |
|
71 |
*If you need language of the Contact Form Maker which is not included in this list, please contact us and we will do the translation of Contact Form Maker within 3 days. If you find any mistakes in the translation of the Contact Form Maker, please contact us and we will make relevant corrections within 3 days.*
|
118 |
Ukrainian (uk_UA)
|
119 |
Vietnamese (vi)
|
120 |
|
121 |
+
|
122 |
== Installation ==
|
123 |
|
124 |
####Thank you for your interest in [WordPress Contact Form](http://wordpress.org/plugins/contact-form-maker/).
|
158 |
|
159 |
== Changelog ==
|
160 |
|
161 |
+
= 1.8.41 =
|
162 |
+
* Changed: Improved captcha security
|
163 |
+
* Fixed:Bug On email field
|
164 |
+
|
165 |
= 1.8.40 =
|
166 |
* Fixed: bug on "Save as Copy"
|
167 |
* Fixed: Line breaks in textarea after incorrect captcha
|
174 |
* Changed: Filters now apply to CSV and XML export
|
175 |
|
176 |
= 1.8.38 =
|
177 |
+
* Fixed: Bug On Search by ID in Submissions
|
178 |
* Added: Mailchimp in featured plugins
|
179 |
|
180 |
= 1.8.37 =
|