wpDataTables Lite - Version 2.1.2

Version Description

  • Fixed issue with the slow backend
  • Fixed issue with loader after saving global plugin settings
  • Compatibility with WordPress 5.5.1 approved.
Download this release

Release Info

Developer wpDataTables
Plugin Icon 128x128 wpDataTables Lite
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

assets/js/wpdatatables/admin/plugin-settings/main.js CHANGED
@@ -286,7 +286,7 @@
286
  /**
287
  * Save settings on Apply button
288
  */
289
- $('button.wdt-apply').click(function(e){
290
 
291
  $('.wdt-preload-layer').animateFadeIn();
292
 
@@ -297,7 +297,7 @@
297
  function savePluginSettings() {
298
  $.ajax({
299
  url: ajaxurl,
300
- dataType: 'json',
301
  method: 'POST',
302
  data: {
303
  action: 'wpdatatables_save_plugin_settings',
@@ -311,6 +311,14 @@
311
  wpdatatables_edit_strings.settings_saved_successful,
312
  'success'
313
  );
 
 
 
 
 
 
 
 
314
  }
315
  })
316
  }
286
  /**
287
  * Save settings on Apply button
288
  */
289
+ $(document).on('click','button.wdt-apply' ,function(e){
290
 
291
  $('.wdt-preload-layer').animateFadeIn();
292
 
297
  function savePluginSettings() {
298
  $.ajax({
299
  url: ajaxurl,
300
+ dataType: 'text',
301
  method: 'POST',
302
  data: {
303
  action: 'wpdatatables_save_plugin_settings',
311
  wpdatatables_edit_strings.settings_saved_successful,
312
  'success'
313
  );
314
+ },
315
+ error: function (){
316
+ $('.wdt-preload-layer').animateFadeOut();
317
+ wdtNotify(
318
+ wpdatatablesSettingsStrings.error,
319
+ wpdatatablesSettingsStrings.settings_saved_error,
320
+ 'danger'
321
+ );
322
  }
323
  })
324
  }
config/config.inc.php CHANGED
@@ -9,7 +9,7 @@ defined('ABSPATH') or die("Cannot access pages directly.");
9
 
10
  // Current version
11
 
12
- define('WDT_CURRENT_VERSION', '2.1.1');
13
 
14
  /**
15
  * Regular Expressions
9
 
10
  // Current version
11
 
12
+ define('WDT_CURRENT_VERSION', '2.1.2');
13
 
14
  /**
15
  * Regular Expressions
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === wpDataTables - Tables & Table Charts ===
2
- Contributors: wpDataTables, WebFactory
3
  Author URI: https://tms-outsource.com
4
  Plugin URI: https://wpdatatables.com/
5
  Tags: data tables, tables, table, charts, tables from csv, tables from excel, datatables, responsive tables, charting, pie charts, mysql tables, table plugin, wp table, WordPress table Plugin, Google Charts, Excel, JSON, XML, PHP array, line chart, donut, bar chart, histogram, area chart, bubble chart, gauge chart, scatter chart, candlestick, waterfall
6
  Requires at least: 4.0
7
- Tested up to: 5.5
8
  Requires PHP: 5.4
9
- Stable tag: 2.1.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -182,6 +182,11 @@ This can be changed from the “Number format” drop-down menu in the wpDataTab
182
 
183
  == Changelog ==
184
 
 
 
 
 
 
185
  = 2.1.1 =
186
  * Bug fixes and stability improvements.
187
  * Compatibility with WordPress 5.5 approved.
1
  === wpDataTables - Tables & Table Charts ===
2
+ Contributors: wpDataTables
3
  Author URI: https://tms-outsource.com
4
  Plugin URI: https://wpdatatables.com/
5
  Tags: data tables, tables, table, charts, tables from csv, tables from excel, datatables, responsive tables, charting, pie charts, mysql tables, table plugin, wp table, WordPress table Plugin, Google Charts, Excel, JSON, XML, PHP array, line chart, donut, bar chart, histogram, area chart, bubble chart, gauge chart, scatter chart, candlestick, waterfall
6
  Requires at least: 4.0
7
+ Tested up to: 5.5.1
8
  Requires PHP: 5.4
9
+ Stable tag: 2.1.2
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
182
 
183
  == Changelog ==
184
 
185
+ = 2.1.2 =
186
+ * Fixed issue with the slow backend
187
+ * Fixed issue with loader after saving global plugin settings
188
+ * Compatibility with WordPress 5.5.1 approved.
189
+
190
  = 2.1.1 =
191
  * Bug fixes and stability improvements.
192
  * Compatibility with WordPress 5.5 approved.
source/class.wdttools.php CHANGED
@@ -328,6 +328,7 @@ class WDTTools
328
  'selectExcelCsv' => __('Select an Excel or CSV file', 'wpdatatables'),
329
  'sEmptyTable' => __('No data available in table', 'wpdatatables'),
330
  'settings_saved_successful' => __('Plugin settings saved successfully', 'wpdatatables'),
 
331
  'shortcodeSaved' => __('Shortcode has been copied to the clipboard.', 'wpdatatables'),
332
  'sInfo' => __('Showing _START_ to _END_ of _TOTAL_ entries', 'wpdatatables'),
333
  'sInfoEmpty' => __('Showing 0 to 0 of 0 entries', 'wpdatatables'),
328
  'selectExcelCsv' => __('Select an Excel or CSV file', 'wpdatatables'),
329
  'sEmptyTable' => __('No data available in table', 'wpdatatables'),
330
  'settings_saved_successful' => __('Plugin settings saved successfully', 'wpdatatables'),
331
+ 'settings_saved_error' => __('Unable to save settings of plugin. Please try again or contact us over Support page.', 'wpdatatables'),
332
  'shortcodeSaved' => __('Shortcode has been copied to the clipboard.', 'wpdatatables'),
333
  'sInfo' => __('Showing _START_ to _END_ of _TOTAL_ entries', 'wpdatatables'),
334
  'sInfoEmpty' => __('Showing 0 to 0 of 0 entries', 'wpdatatables'),
templates/admin/dashboard/dashboard.inc.php CHANGED
@@ -336,14 +336,16 @@ $tableChartsCount = WDTTools::getTablesCount('chart');
336
  </span>
337
  </p>
338
  <p class="wpdt-text wpdt-font m-b-18">
339
- <?php _e('A minor stability update including some patches for compatibility with WordPress version 5.5.', 'wpdatatables'); ?>
340
  </p>
341
- <!-- <div class="alert alert-info m-b-0" role="alert">-->
342
- <!-- <i class="wpdt-icon-info-circle-full"></i>-->
343
- <!-- <ul>-->
344
- <!-- <li class="alert-desc"></li>-->
345
- <!-- </ul>-->
346
- <!-- </div>-->
 
 
347
 
348
  </div>
349
  </div>
336
  </span>
337
  </p>
338
  <p class="wpdt-text wpdt-font m-b-18">
339
+ <?php _e('A regular update including some stability improvements and bugfixes.', 'wpdatatables'); ?>
340
  </p>
341
+ <div class="alert alert-info m-b-0" role="alert">
342
+ <i class="wpdt-icon-info-circle-full"></i>
343
+ <ul>
344
+ <li class="alert-desc" ><?php _e('Fixed issue with the slow backend', 'wpdatatables'); ?></li>
345
+ <li class="alert-desc" ><?php _e('Fixed issue with loader after saving global plugin settings', 'wpdatatables'); ?></li>
346
+ <li class="alert-desc" ><?php _e('Compatibility with WordPress 5.5.1 approved.', 'wpdatatables'); ?></li>
347
+ </ul>
348
+ </div>
349
 
350
  </div>
351
  </div>
wpdatatables.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin Name: wpDataTables - Tables & Table Charts
6
  Plugin URI: https://wpdatatables.com
7
  Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
8
- Version: 2.1.1
9
  Author: TMS-Plugins
10
  Author URI: https://tms-outsource.com
11
  Text Domain: wpdatatables
5
  Plugin Name: wpDataTables - Tables & Table Charts
6
  Plugin URI: https://wpdatatables.com
7
  Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
8
+ Version: 2.1.2
9
  Author: TMS-Plugins
10
  Author URI: https://tms-outsource.com
11
  Text Domain: wpdatatables