Version Description
- Fixed: Remove the link from "Privacy Policy" text in the form when there is no Privacy Policy page.
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.12.42 |
| Comparing to | |
| See all releases | |
Code changes from version 1.12.41 to 1.12.42
- form-maker.php +3 -3
- frontend/views/form_maker.php +4 -1
- readme.txt +4 -1
form-maker.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: Form Maker
|
| 4 |
* Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
|
| 5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
| 6 |
-
* Version: 1.12.
|
| 7 |
* Author: WebDorado Form Builder Team
|
| 8 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
| 9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
|
@@ -95,8 +95,8 @@ final class WDFM {
|
|
| 95 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
| 96 |
$this->front_urls = $this->get_front_urls();
|
| 97 |
$this->main_file = plugin_basename(__FILE__);
|
| 98 |
-
$this->plugin_version = '1.12.
|
| 99 |
-
$this->db_version = '2.12.
|
| 100 |
$this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
|
| 101 |
$this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
|
| 102 |
$this->menu_slug = 'manage' . $this->menu_postfix;
|
| 3 |
* Plugin Name: Form Maker
|
| 4 |
* Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
|
| 5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
| 6 |
+
* Version: 1.12.42
|
| 7 |
* Author: WebDorado Form Builder Team
|
| 8 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
| 9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 95 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
| 96 |
$this->front_urls = $this->get_front_urls();
|
| 97 |
$this->main_file = plugin_basename(__FILE__);
|
| 98 |
+
$this->plugin_version = '1.12.42';
|
| 99 |
+
$this->db_version = '2.12.42';
|
| 100 |
$this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
|
| 101 |
$this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
|
| 102 |
$this->menu_slug = 'manage' . $this->menu_postfix;
|
frontend/views/form_maker.php
CHANGED
|
@@ -1536,7 +1536,10 @@ class FMViewForm_maker {
|
|
| 1536 |
$rep = '';
|
| 1537 |
if ($row->gdpr_checkbox && $row->gdpr_checkbox_text) {
|
| 1538 |
$privacy_policy_page = WDW_FM_Library(self::PLUGIN)->get_privacy_policy_url();
|
| 1539 |
-
$privacy_policy_link =
|
|
|
|
|
|
|
|
|
|
| 1540 |
$row->gdpr_checkbox_text = str_replace('{{privacy_policy}}', $privacy_policy_link, $row->gdpr_checkbox_text);
|
| 1541 |
$gdpr_checkbox_html = '<label for="fm_privacy_policy' . $form_id . '" class="wdform-label">
|
| 1542 |
<input id="fm_privacy_policy' . $form_id . '" name="fm_privacy_policy' . $form_id . '" class="wd-flex-row fm-gdpr-checkbox" onclick="' . ($disabled_submit ? '' : 'fm_privacy_policy_check(this)') . '" type="checkbox" value="1">'
|
| 1536 |
$rep = '';
|
| 1537 |
if ($row->gdpr_checkbox && $row->gdpr_checkbox_text) {
|
| 1538 |
$privacy_policy_page = WDW_FM_Library(self::PLUGIN)->get_privacy_policy_url();
|
| 1539 |
+
$privacy_policy_link = $privacy_policy_page['title'];
|
| 1540 |
+
if (!empty($privacy_policy_page['url'])) {
|
| 1541 |
+
$privacy_policy_link = ' <a href="' . $privacy_policy_page['url'] . '" target="_blank">' . $privacy_policy_page['title'] . '</a>';
|
| 1542 |
+
}
|
| 1543 |
$row->gdpr_checkbox_text = str_replace('{{privacy_policy}}', $privacy_policy_link, $row->gdpr_checkbox_text);
|
| 1544 |
$gdpr_checkbox_html = '<label for="fm_privacy_policy' . $form_id . '" class="wdform-label">
|
| 1545 |
<input id="fm_privacy_policy' . $form_id . '" name="fm_privacy_policy' . $form_id . '" class="wd-flex-row fm-gdpr-checkbox" onclick="' . ($disabled_submit ? '' : 'fm_privacy_policy_check(this)') . '" type="checkbox" value="1">'
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: webdorado,10web,wdsupport,formmakersupport
|
|
| 3 |
Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
|
| 4 |
Requires at least: 4.6
|
| 5 |
Tested up to: 5.0
|
| 6 |
-
Stable tag: 1.12.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -452,6 +452,9 @@ Where **{{field_id}}** is the ID of the field you wish to prefill. Also, **{{par
|
|
| 452 |
|
| 453 |
== Changelog ==
|
| 454 |
|
|
|
|
|
|
|
|
|
|
| 455 |
= 1.12.41 =
|
| 456 |
* Added: WHERE selectors in "Options from database" (Select, Single and Multiple choice fields).
|
| 457 |
* Added: Placeholders (User ID, Submitter's IP, etc.) in WHERE clause in "Options from database" and MySQL Mapping.
|
| 3 |
Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
|
| 4 |
Requires at least: 4.6
|
| 5 |
Tested up to: 5.0
|
| 6 |
+
Stable tag: 1.12.42
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 452 |
|
| 453 |
== Changelog ==
|
| 454 |
|
| 455 |
+
= 1.12.42 =
|
| 456 |
+
* Fixed: Remove the link from "Privacy Policy" text in the form when there is no Privacy Policy page.
|
| 457 |
+
|
| 458 |
= 1.12.41 =
|
| 459 |
* Added: WHERE selectors in "Options from database" (Select, Single and Multiple choice fields).
|
| 460 |
* Added: Placeholders (User ID, Submitter's IP, etc.) in WHERE clause in "Options from database" and MySQL Mapping.
|
