Version Description
- Fixed bug in message deletion
Download this release
Release Info
Developer | codepeople |
Plugin | Contact Form Email |
Version | 1.2.81 |
Comparing to | |
See all releases |
Code changes from version 1.2.80 to 1.2.81
- README.txt +6 -3
- cp-admin-int-message-list.inc.php +4 -4
- form-to-email.php +1 -1
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: codepeople
|
|
3 |
Donate link: https://form2email.dwbooster.com/download
|
4 |
Tags: contact form,contact,email,contact form database,form,contact form excel,form to email,form to database,contact form builder,form to csv,form to excel,contact form csv
|
5 |
Requires at least: 3.0.5
|
6 |
-
Tested up to: 5.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -456,6 +456,9 @@ When you click a field already added into the contact form builder area, you can
|
|
456 |
|
457 |
== Changelog ==
|
458 |
|
|
|
|
|
|
|
459 |
= 1.2.80 =
|
460 |
* Better auto-config and easier publishing process
|
461 |
|
@@ -1000,5 +1003,5 @@ When you click a field already added into the contact form builder area, you can
|
|
1000 |
|
1001 |
== Upgrade Notice ==
|
1002 |
|
1003 |
-
= 1.2.
|
1004 |
-
*
|
3 |
Donate link: https://form2email.dwbooster.com/download
|
4 |
Tags: contact form,contact,email,contact form database,form,contact form excel,form to email,form to database,contact form builder,form to csv,form to excel,contact form csv
|
5 |
Requires at least: 3.0.5
|
6 |
+
Tested up to: 5.1
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
456 |
|
457 |
== Changelog ==
|
458 |
|
459 |
+
= 1.2.81 =
|
460 |
+
* Fixed bug in message deletion
|
461 |
+
|
462 |
= 1.2.80 =
|
463 |
* Better auto-config and easier publishing process
|
464 |
|
1003 |
|
1004 |
== Upgrade Notice ==
|
1005 |
|
1006 |
+
= 1.2.81 =
|
1007 |
+
* Fixed bug in message deletion
|
cp-admin-int-message-list.inc.php
CHANGED
@@ -23,7 +23,7 @@ if (isset($_GET['delmark']) && $_GET['delmark'] != '')
|
|
23 |
}
|
24 |
else if (isset($_GET['del']) && $_GET['del'] == 'all')
|
25 |
{
|
26 |
-
if (
|
27 |
$wpdb->query('DELETE FROM `'.$wpdb->prefix.$this->table_messages.'`');
|
28 |
else
|
29 |
$wpdb->query('DELETE FROM `'.$wpdb->prefix.$this->table_messages.'` WHERE formid='.intval($this->item));
|
@@ -118,7 +118,7 @@ $nonce = wp_create_nonce( 'cfte_message_actions_plist' );
|
|
118 |
}
|
119 |
function cp_deleteall()
|
120 |
{
|
121 |
-
if (confirm('Are you sure that you want to delete ALL
|
122 |
{
|
123 |
document.location = 'admin.php?page=<?php echo $this->menu_parameter; ?>&cal=<?php echo intval($_GET["cal"]); ?>&list=1&del=all&r='+Math.random();
|
124 |
}
|
@@ -236,8 +236,8 @@ echo paginate_links( array(
|
|
236 |
<div class="clear"></div>
|
237 |
</div>
|
238 |
<div style="clear:both"></div>
|
239 |
-
<p class="submit" style="float:left;"><input class="button" type="button" name="pbutton" value="Delete
|
240 |
-
<p class="submit" style="float:left;"><input class="button" type="button" name="pbutton" value="Delete All
|
241 |
<div style="clear:both"></div>
|
242 |
|
243 |
</div>
|
23 |
}
|
24 |
else if (isset($_GET['del']) && $_GET['del'] == 'all')
|
25 |
{
|
26 |
+
if ($this->item == '' || $this->item == 0)
|
27 |
$wpdb->query('DELETE FROM `'.$wpdb->prefix.$this->table_messages.'`');
|
28 |
else
|
29 |
$wpdb->query('DELETE FROM `'.$wpdb->prefix.$this->table_messages.'` WHERE formid='.intval($this->item));
|
118 |
}
|
119 |
function cp_deleteall()
|
120 |
{
|
121 |
+
if (confirm('Are you sure that you want to delete ALL messages for this form?'))
|
122 |
{
|
123 |
document.location = 'admin.php?page=<?php echo $this->menu_parameter; ?>&cal=<?php echo intval($_GET["cal"]); ?>&list=1&del=all&r='+Math.random();
|
124 |
}
|
236 |
<div class="clear"></div>
|
237 |
</div>
|
238 |
<div style="clear:both"></div>
|
239 |
+
<p class="submit" style="float:left;"><input class="button" type="button" name="pbutton" value="Delete Marked Messages" onclick="cp_deletemarked();" /> </p>
|
240 |
+
<p class="submit" style="float:left;"><input class="button" type="button" name="pbutton" value="Delete All Messages" onclick="cp_deleteall();" /></p>
|
241 |
<div style="clear:both"></div>
|
242 |
|
243 |
</div>
|
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
|
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.81
|
7 |
Author: CodePeople
|
8 |
Author URI: https://form2email.dwbooster.com
|
9 |
Text Domain: contact-form-to-email
|