Advanced Contact form 7 DB - Version 1.2.0

Version Description

  • Fix error related to PHP strings.
Download this release

Release Info

Developer vsourz1td
Plugin Icon 128x128 Advanced Contact form 7 DB
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.2 to 1.2.0

README.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: vsourz1td
3
  Tags: contact form 7 db, advanced cf7 db, contact form 7 database, contact form db, contact form 7, database, cf7db, save-contact-form, Save-Forms-Data, import-cf7, export-contact-data, view-cf7-entry
4
  Requires at least: 3.5
5
- Tested up to: 4.8.2
6
- Stable tag: 1.1.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -91,6 +91,9 @@ If you think, that you found a bug in our plugin or have any question contact us
91
 
92
 
93
  == Changelog ==
 
 
 
94
  = 1.1.2 =
95
  * Fix error related to PHP 7.1.
96
 
2
  Contributors: vsourz1td
3
  Tags: contact form 7 db, advanced cf7 db, contact form 7 database, contact form db, contact form 7, database, cf7db, save-contact-form, Save-Forms-Data, import-cf7, export-contact-data, view-cf7-entry
4
  Requires at least: 3.5
5
+ Tested up to: 4.9.1
6
+ Stable tag: 1.2.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
91
 
92
 
93
  == Changelog ==
94
+ = 1.2.0 =
95
+ * Fix error related to PHP strings.
96
+
97
  = 1.1.2 =
98
  * Fix error related to PHP 7.1.
99
 
admin/partials/contact_form_listing.php CHANGED
@@ -311,7 +311,12 @@ else{
311
  }
312
  else{
313
  $_value = esc_html($_value);
314
- echo '<td data-head="'.vsz_cf7_admin_get_field_name($v2).'">'.mb_strimwidth($_value, 0, $display_character, "...").'</td>';
 
 
 
 
 
315
  }
316
  }//Close foreach
317
  echo '</tr>';
311
  }
312
  else{
313
  $_value = esc_html($_value);
314
+ //var_dump(($_value)); var_dump(strlen($_value)); exit;
315
+ if(strlen($_value) > $display_character){
316
+ echo '<td data-head="'.vsz_cf7_admin_get_field_name($v2).'">'.substr($_value, 0, $display_character).'...</td>';
317
+ }else{
318
+ echo '<td data-head="'.vsz_cf7_admin_get_field_name($v2).'">'.$_value.'</td>';
319
+ }
320
  }
321
  }//Close foreach
322
  echo '</tr>';
advanced-cf7-db.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: Advanced CF7 DB
10
  * Plugin URI: https://wordpress.org/plugins/advanced-cf7-db/
11
  * Description: Save all contact form 7 submitted data to the database, View, Export, ordering, Change field labels, Import data using CSV very easily.
12
- * Version: 1.1.2
13
  * Author: Vsourz Digital
14
  * Author URI: https://www.vsourz.com
15
  * License: GPL-2.0+
9
  * Plugin Name: Advanced CF7 DB
10
  * Plugin URI: https://wordpress.org/plugins/advanced-cf7-db/
11
  * Description: Save all contact form 7 submitted data to the database, View, Export, ordering, Change field labels, Import data using CSV very easily.
12
+ * Version: 1.2.0
13
  * Author: Vsourz Digital
14
  * Author URI: https://www.vsourz.com
15
  * License: GPL-2.0+