Version Description
Fixed: Bug in name field
Fixed: Bug in captcha
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.8.10 |
Comparing to | |
See all releases |
Code changes from version 1.8.9 to 1.8.10
- featured/updates.php +2 -2
- form-maker.php +3 -2
- frontend/models/FMModelForm_maker.php +7 -5
- readme.txt +5 -1
featured/updates.php
CHANGED
@@ -69,7 +69,7 @@ $updates=$upd->updates;
|
|
69 |
<span class="update-info">There is a new <?php echo $updates[31][0]['version'] ?> version available.</span>
|
70 |
<p><span>What's new:</span></p>
|
71 |
<div class="fm_last_update"><?php echo $updates[31][0]['version'] ?>
|
72 |
-
- <?php echo strip_tags( $updates[31][0]['note'] ) ?></div>
|
73 |
<?php unset( $updates[31][0] ); ?>
|
74 |
<?php if ( count( $updates[31] ) > 0 ) { ?>
|
75 |
|
@@ -77,7 +77,7 @@ $updates=$upd->updates;
|
|
77 |
<?php foreach ( $updates[31] as $update ) {
|
78 |
?>
|
79 |
<div class="fm_update"><?php echo $update['version'] ?>
|
80 |
-
- <?php echo strip_tags( $update['note'] ) ?></div>
|
81 |
<?php
|
82 |
}
|
83 |
?>
|
69 |
<span class="update-info">There is a new <?php echo $updates[31][0]['version'] ?> version available.</span>
|
70 |
<p><span>What's new:</span></p>
|
71 |
<div class="fm_last_update"><?php echo $updates[31][0]['version'] ?>
|
72 |
+
- <?php echo strip_tags( str_replace('important', '', $updates[31][0]['note']) ) ?></div>
|
73 |
<?php unset( $updates[31][0] ); ?>
|
74 |
<?php if ( count( $updates[31] ) > 0 ) { ?>
|
75 |
|
77 |
<?php foreach ( $updates[31] as $update ) {
|
78 |
?>
|
79 |
<div class="fm_update"><?php echo $update['version'] ?>
|
80 |
+
- <?php echo strip_tags( str_replace('important', '', $update['note']) ) ?></div>
|
81 |
<?php
|
82 |
}
|
83 |
?>
|
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.8.
|
7 |
* Author: WebDorado
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -269,7 +269,7 @@ function register_fmemailverification_cpt(){
|
|
269 |
// Activate plugin.
|
270 |
function form_maker_activate() {
|
271 |
$version = get_option("wd_form_maker_version");
|
272 |
-
$new_version = '1.8.
|
273 |
global $wpdb;
|
274 |
if (!$version) {
|
275 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
@@ -467,6 +467,7 @@ function form_maker_front_end_scripts() {
|
|
467 |
wp_enqueue_style('form_maker_frontend', WD_FM_URL . '/css/form_maker_frontend.css');
|
468 |
|
469 |
wp_register_script('main_div_front_end', WD_FM_URL . '/js/main_div_front_end.js', array(), get_option("wd_form_maker_version"));
|
|
|
470 |
wp_register_script('main_front_end', WD_FM_URL . '/js/main_front_end.js', array(), get_option("wd_form_maker_version"));
|
471 |
wp_localize_script('main_div_front_end', 'fm_objectL10n', array(
|
472 |
'plugin_url' => WD_FM_URL
|
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.8.10
|
7 |
* Author: WebDorado
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
269 |
// Activate plugin.
|
270 |
function form_maker_activate() {
|
271 |
$version = get_option("wd_form_maker_version");
|
272 |
+
$new_version = '1.8.10';
|
273 |
global $wpdb;
|
274 |
if (!$version) {
|
275 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
467 |
wp_enqueue_style('form_maker_frontend', WD_FM_URL . '/css/form_maker_frontend.css');
|
468 |
|
469 |
wp_register_script('main_div_front_end', WD_FM_URL . '/js/main_div_front_end.js', array(), get_option("wd_form_maker_version"));
|
470 |
+
wp_enqueue_script('main_div_front_end', WD_FM_URL . '/js/main_div_front_end.js', array(), get_option("wd_form_maker_version"));
|
471 |
wp_register_script('main_front_end', WD_FM_URL . '/js/main_front_end.js', array(), get_option("wd_form_maker_version"));
|
472 |
wp_localize_script('main_div_front_end', 'fm_objectL10n', array(
|
473 |
'plugin_url' => WD_FM_URL
|
frontend/models/FMModelForm_maker.php
CHANGED
@@ -316,8 +316,9 @@ class FMModelForm_maker {
|
|
316 |
break;
|
317 |
}
|
318 |
case "type_name": {
|
319 |
-
|
320 |
-
|
|
|
321 |
$value = (isset($_POST['wdform_'.$i."_element_title".$id]) ? esc_html($_POST['wdform_'.$i."_element_title".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_first".$id]) ? esc_html($_POST['wdform_'.$i."_element_first".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_last".$id]) ? esc_html($_POST['wdform_'.$i."_element_last".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_middle".$id]) ? esc_html($_POST['wdform_'.$i."_element_middle".$id]) : "");
|
322 |
}
|
323 |
else {
|
@@ -1819,9 +1820,10 @@ class FMModelForm_maker {
|
|
1819 |
$element_first = isset($_POST['wdform_'.$i."_element_first".$id]) ? $_POST['wdform_'.$i."_element_first".$id] : NULL;
|
1820 |
if(isset($element_first)) {
|
1821 |
$element_title = isset($_POST['wdform_'.$i."_element_title".$id]) ? $_POST['wdform_'.$i."_element_title".$id] : NULL;
|
1822 |
-
|
1823 |
-
|
1824 |
-
$
|
|
|
1825 |
}
|
1826 |
else {
|
1827 |
if($this->empty_field($element_first, $row->mail_emptyfields) || $this->empty_field($_POST['wdform_'.$i."_element_last".$id], $row->mail_emptyfields)) {
|
316 |
break;
|
317 |
}
|
318 |
case "type_name": {
|
319 |
+
$element_title = isset($_POST['wdform_'.$i."_element_title".$id]) ? esc_html($_POST['wdform_'.$i."_element_title".$id]) : NULL;
|
320 |
+
$element_middle = isset($_POST['wdform_'.$i."_element_middle".$id]) ? esc_html($_POST['wdform_'.$i."_element_middle".$id]) : NULL;
|
321 |
+
if(isset($element_title) || isset($element_middle)) {
|
322 |
$value = (isset($_POST['wdform_'.$i."_element_title".$id]) ? esc_html($_POST['wdform_'.$i."_element_title".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_first".$id]) ? esc_html($_POST['wdform_'.$i."_element_first".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_last".$id]) ? esc_html($_POST['wdform_'.$i."_element_last".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_middle".$id]) ? esc_html($_POST['wdform_'.$i."_element_middle".$id]) : "");
|
323 |
}
|
324 |
else {
|
1820 |
$element_first = isset($_POST['wdform_'.$i."_element_first".$id]) ? $_POST['wdform_'.$i."_element_first".$id] : NULL;
|
1821 |
if(isset($element_first)) {
|
1822 |
$element_title = isset($_POST['wdform_'.$i."_element_title".$id]) ? $_POST['wdform_'.$i."_element_title".$id] : NULL;
|
1823 |
+
$element_middle = isset($_POST['wdform_'.$i."_element_middle".$id]) ? esc_html($_POST['wdform_'.$i."_element_middle".$id]) : NULL;
|
1824 |
+
if((isset($element_title) || isset($element_middle)) && ($this->empty_field($element_title, $row->mail_emptyfields) || $this->empty_field($element_first, $row->mail_emptyfields) || $this->empty_field($_POST['wdform_'.$i."_element_last".$id], $row->mail_emptyfields) || $this->empty_field($_POST['wdform_'.$i."_element_middle".$id], $row->mail_emptyfields))) {
|
1825 |
+
$list = $list . '<tr valign="top"><td >' . $element_label . '</td><td >' . (isset($_POST['wdform_'.$i."_element_title".$id]) ? $_POST['wdform_'.$i."_element_title".$id] : '') . ' ' . $element_first . ' ' . (isset($_POST['wdform_'.$i."_element_last".$id]) ? $_POST['wdform_'.$i."_element_last".$id] : "") . ' ' . (isset($_POST['wdform_'.$i."_element_middle".$id]) ? $_POST['wdform_'.$i."_element_middle".$id] : "") . '</td></tr>';
|
1826 |
+
$list_text_mode=$list_text_mode.$element_label.' - '.(isset($_POST['wdform_'.$i."_element_title".$id]) ? $_POST['wdform_'.$i."_element_title".$id] : '').' '.$element_first.' '.(isset($_POST['wdform_'.$i."_element_last".$id]) ? $_POST['wdform_'.$i."_element_last".$id] : "").' '.(isset($_POST['wdform_'.$i."_element_middle".$id]) ? $_POST['wdform_'.$i."_element_middle".$id] : "")."\r\n";
|
1827 |
}
|
1828 |
else {
|
1829 |
if($this->empty_field($element_first, $row->mail_emptyfields) || $this->empty_field($_POST['wdform_'.$i."_element_last".$id], $row->mail_emptyfields)) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-form.html
|
|
4 |
Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha, pdf, mysql
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -301,6 +301,10 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
|
|
301 |
|
302 |
== Changelog ==
|
303 |
|
|
|
|
|
|
|
|
|
304 |
= 1.8.9 =
|
305 |
New Add-on: Save Progress
|
306 |
|
4 |
Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha, pdf, mysql
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 1.8.10
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
301 |
|
302 |
== Changelog ==
|
303 |
|
304 |
+
= 1.8.10 =
|
305 |
+
Fixed: Bug in name field
|
306 |
+
Fixed: Bug in captcha
|
307 |
+
|
308 |
= 1.8.9 =
|
309 |
New Add-on: Save Progress
|
310 |
|