Version Description
- Fixed: bug in widget
Download this release
Release Info
Developer | webdorado |
Plugin | Contact Form by WD – responsive drag & drop contact form builder tool |
Version | 1.8.29 |
Comparing to | |
See all releases |
Code changes from version 1.8.28 to 1.8.29
admin/controllers/FMControllerWidget_fmc.php
CHANGED
@@ -23,7 +23,7 @@ class FMControllerWidget_fmc extends WP_Widget {
|
|
23 |
// Widget Control Settings.
|
24 |
$control_ops = array('id_base' => 'form_maker_widget');
|
25 |
// Create the widget.
|
26 |
-
parent::__construct('form_maker_widget', 'Form Maker', $widget_ops, $control_ops);
|
27 |
require_once WD_FMC_DIR . "/admin/models/FMModelWidget_fmc.php";
|
28 |
$this->model = new FMModelWidget_fmc();
|
29 |
|
23 |
// Widget Control Settings.
|
24 |
$control_ops = array('id_base' => 'form_maker_widget');
|
25 |
// Create the widget.
|
26 |
+
parent::__construct('form_maker_widget', 'Contact Form Maker', $widget_ops, $control_ops);
|
27 |
require_once WD_FMC_DIR . "/admin/models/FMModelWidget_fmc.php";
|
28 |
$this->model = new FMModelWidget_fmc();
|
29 |
|
admin/models/FMModelWidget_fmc.php
CHANGED
@@ -21,7 +21,8 @@ class FMModelWidget_fmc {
|
|
21 |
|
22 |
public function get_gallery_rows_data() {
|
23 |
global $wpdb;
|
24 |
-
|
|
|
25 |
$rows = $wpdb->get_results($query);
|
26 |
return $rows;
|
27 |
}
|
21 |
|
22 |
public function get_gallery_rows_data() {
|
23 |
global $wpdb;
|
24 |
+
$where = 'WHERE `id` IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')';
|
25 |
+
$query = "SELECT * FROM " . $wpdb->prefix . "formmaker ".$where." order by `title` ";
|
26 |
$rows = $wpdb->get_results($query);
|
27 |
return $rows;
|
28 |
}
|
admin/views/FMViewWidget_fmc.php
CHANGED
@@ -37,7 +37,7 @@ class FMViewWidget_fmc {
|
|
37 |
}
|
38 |
// Widget output.
|
39 |
require_once(WD_FMC_DIR . '/frontend/controllers/FMControllerForm_maker_fmc.php');
|
40 |
-
$controller_class = '
|
41 |
$controller = new $controller_class();
|
42 |
echo $controller->execute($instance['form_id']);
|
43 |
// After widget.
|
37 |
}
|
38 |
// Widget output.
|
39 |
require_once(WD_FMC_DIR . '/frontend/controllers/FMControllerForm_maker_fmc.php');
|
40 |
+
$controller_class = 'FMControllerForm_maker_fmc';
|
41 |
$controller = new $controller_class();
|
42 |
echo $controller->execute($instance['form_id']);
|
43 |
// After widget.
|
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
|
@@ -248,7 +248,7 @@ function register_fmcemailverification_cpt(){
|
|
248 |
// Activate plugin.
|
249 |
function form_maker_activate_cfm() {
|
250 |
$version = get_option("wd_form_maker_version");
|
251 |
-
$new_version = '1.8.
|
252 |
global $wpdb;
|
253 |
if (!$version) {
|
254 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
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.29
|
7 |
* Author: WebDorado
|
8 |
* Author URI: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
248 |
// Activate plugin.
|
249 |
function form_maker_activate_cfm() {
|
250 |
$version = get_option("wd_form_maker_version");
|
251 |
+
$new_version = '1.8.29';
|
252 |
global $wpdb;
|
253 |
if (!$version) {
|
254 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
contact_form_maker_update.php
CHANGED
@@ -165,12 +165,12 @@ function contact_form_maker_update($version) {
|
|
165 |
`mail_verify` tinyint(4) NOT NULL DEFAULT '0',
|
166 |
`mail_verify_expiretime` float NOT NULL,
|
167 |
`mail_verification_post_id` int(11) NOT NULL,
|
|
|
168 |
PRIMARY KEY (`backup_id`)
|
169 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;";
|
170 |
$wpdb->query($formmaker_backup);
|
171 |
|
172 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `save_uploads` tinyint(4) NOT NULL DEFAULT 1");
|
173 |
-
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker_backup` ADD `save_uploads` tinyint(4) NOT NULL DEFAULT 1");
|
174 |
}
|
175 |
return;
|
176 |
}
|
165 |
`mail_verify` tinyint(4) NOT NULL DEFAULT '0',
|
166 |
`mail_verify_expiretime` float NOT NULL,
|
167 |
`mail_verification_post_id` int(11) NOT NULL,
|
168 |
+
`save_uploads` tinyint(4) NOT NULL DEFAULT 1,
|
169 |
PRIMARY KEY (`backup_id`)
|
170 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;";
|
171 |
$wpdb->query($formmaker_backup);
|
172 |
|
173 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `save_uploads` tinyint(4) NOT NULL DEFAULT 1");
|
|
|
174 |
}
|
175 |
return;
|
176 |
}
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Contact Form ===
|
2 |
Contributors: webdorado
|
3 |
Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html
|
4 |
-
Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form, Contact form maker with recaptcha, contact form with google map, feedback form, feedback forms, contact us, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, survey form, contact form with captcha
|
5 |
Requires at least: 3.4
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -145,7 +145,8 @@ If you want to update the plugin while preserving your existing contact forms, y
|
|
145 |
8. Contact Form Maker - Select Columns
|
146 |
|
147 |
== Changelog ==
|
148 |
-
|
|
|
149 |
= 1.8.28 =
|
150 |
* minor bug fixed
|
151 |
= 1.8.27 =
|
1 |
=== Contact Form ===
|
2 |
Contributors: webdorado
|
3 |
Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html
|
4 |
+
Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form, Contact form maker with recaptcha, contact form with google map, feedback form, feedback forms, contact us, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, survey form, contact form with captcha, recaptcha
|
5 |
Requires at least: 3.4
|
6 |
+
Tested up to: 4.5
|
7 |
+
Stable tag: 1.8.29
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
145 |
8. Contact Form Maker - Select Columns
|
146 |
|
147 |
== Changelog ==
|
148 |
+
= 1.8.29 =
|
149 |
+
* Fixed: bug in widget
|
150 |
= 1.8.28 =
|
151 |
* minor bug fixed
|
152 |
= 1.8.27 =
|