Version Description
- BugFix: Fixed issue with inserting spaces for column prefix and suffix.
- Compatibility with WordPress 5.9.3 approved. Other small bug fixes and stability improvements.
Download this release
Release Info
Developer | wpDataTables |
Plugin | wpDataTables Lite |
Version | 2.1.29 |
Comparing to | |
See all releases |
Code changes from version 2.1.28 to 2.1.29
assets/js/wpdatatables/admin/constructor/wdt.simpleTable.js
CHANGED
@@ -1656,7 +1656,8 @@
|
|
1656 |
$('#wpdt-star-number').on('change input focus', function () {
|
1657 |
let starNum,
|
1658 |
starNumEl = $(this),
|
1659 |
-
starNumValue = $(this).val()
|
|
|
1660 |
|
1661 |
if (starNumValue == '' || isNaN(starNumValue)) {
|
1662 |
starNumEl.val(1)
|
@@ -1672,6 +1673,8 @@
|
|
1672 |
}
|
1673 |
starRateElement.rateYo("option", "numStars", starNum);
|
1674 |
starRateElement.rateYo("option", "maxValue", starNum);
|
|
|
|
|
1675 |
})
|
1676 |
|
1677 |
starRateElement.rateYo("option", "onSet", function () {
|
1656 |
$('#wpdt-star-number').on('change input focus', function () {
|
1657 |
let starNum,
|
1658 |
starNumEl = $(this),
|
1659 |
+
starNumValue = $(this).val(),
|
1660 |
+
starRatingNumber = starRateElement.rateYo("rating");
|
1661 |
|
1662 |
if (starNumValue == '' || isNaN(starNumValue)) {
|
1663 |
starNumEl.val(1)
|
1673 |
}
|
1674 |
starRateElement.rateYo("option", "numStars", starNum);
|
1675 |
starRateElement.rateYo("option", "maxValue", starNum);
|
1676 |
+
starRatingNumber = starRatingNumber > starNum ? starNum : starRatingNumber;
|
1677 |
+
starRateNumber.html(starRatingNumber + '/' + starNum);
|
1678 |
})
|
1679 |
|
1680 |
starRateElement.rateYo("option", "onSet", function () {
|
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.
|
13 |
|
14 |
/**
|
15 |
* Regular Expressions
|
9 |
|
10 |
// Current version
|
11 |
|
12 |
+
define('WDT_CURRENT_VERSION', '2.1.29');
|
13 |
|
14 |
/**
|
15 |
* Regular Expressions
|
readme.txt
CHANGED
@@ -4,9 +4,9 @@ Author URI: https://tms-outsource.com
|
|
4 |
Plugin URI: https://wpdatatables.com/
|
5 |
Tags: table, table builder, data tables, tables, charts, datatables, simple table, tables from csv, tables from excel, responsive tables, charting, pie charts, mysql tables, table plugin, wp table, WordPress table Plugin, Google Charts, Chartjs, Excel, JSON, XML, PHP array, line chart, donut, bar chart, histogram, area chart, bubble chart, gauge chart, scatter chart, candlestick, waterfall, polar, radar
|
6 |
Requires at least: 4.0
|
7 |
-
Tested up to: 5.9.
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 2.1.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -250,6 +250,11 @@ This can be changed from the “Number format” drop-down menu in the wpDataTab
|
|
250 |
|
251 |
== Changelog ==
|
252 |
|
|
|
|
|
|
|
|
|
|
|
253 |
= 2.1.28 =
|
254 |
* Improvement: Improved custom JS and CSS layout
|
255 |
* BugFix: Fixed issue with Jet plugins in Elementor widgets.
|
4 |
Plugin URI: https://wpdatatables.com/
|
5 |
Tags: table, table builder, data tables, tables, charts, datatables, simple table, tables from csv, tables from excel, responsive tables, charting, pie charts, mysql tables, table plugin, wp table, WordPress table Plugin, Google Charts, Chartjs, Excel, JSON, XML, PHP array, line chart, donut, bar chart, histogram, area chart, bubble chart, gauge chart, scatter chart, candlestick, waterfall, polar, radar
|
6 |
Requires at least: 4.0
|
7 |
+
Tested up to: 5.9.3
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 2.1.29
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
250 |
|
251 |
== Changelog ==
|
252 |
|
253 |
+
= 2.1.29 =
|
254 |
+
* BugFix: Fixed issue with inserting spaces for column prefix and suffix.
|
255 |
+
* Compatibility with WordPress 5.9.3 approved.
|
256 |
+
Other small bug fixes and stability improvements.
|
257 |
+
|
258 |
= 2.1.28 =
|
259 |
* Improvement: Improved custom JS and CSS layout
|
260 |
* BugFix: Fixed issue with Jet plugins in Elementor widgets.
|
source/class.wdtconfigcontroller.php
CHANGED
@@ -543,8 +543,13 @@ class WDTConfigController {
|
|
543 |
$column->possibleValuesType = sanitize_text_field($column->possibleValuesType);
|
544 |
$column->skip_thousands_separator = (int)$column->skip_thousands_separator;
|
545 |
$column->sorting = (int)$column->sorting;
|
546 |
-
|
547 |
-
|
|
|
|
|
|
|
|
|
|
|
548 |
$column->css_class = sanitize_text_field($column->css_class);
|
549 |
$column->type = sanitize_text_field($column->type);
|
550 |
$column->visible = (int)$column->visible;
|
543 |
$column->possibleValuesType = sanitize_text_field($column->possibleValuesType);
|
544 |
$column->skip_thousands_separator = (int)$column->skip_thousands_separator;
|
545 |
$column->sorting = (int)$column->sorting;
|
546 |
+
if ( ! current_user_can( 'unfiltered_html' ) ) {
|
547 |
+
$column->text_after = sanitize_text_field(wp_kses_post($column->text_after));
|
548 |
+
$column->text_before = sanitize_text_field(wp_kses_post($column->text_before));
|
549 |
+
} else {
|
550 |
+
$column->text_after = wp_kses_post($column->text_after);
|
551 |
+
$column->text_before = wp_kses_post($column->text_before);
|
552 |
+
}
|
553 |
$column->css_class = sanitize_text_field($column->css_class);
|
554 |
$column->type = sanitize_text_field($column->type);
|
555 |
$column->visible = (int)$column->visible;
|
templates/admin/chart_wizard/chart_wizard.inc.php
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
<img id="wpdt-inline-logo"
|
32 |
src="<?php echo WDT_ROOT_URL; ?>assets/img/logo.svg"/>
|
33 |
<h2>
|
34 |
-
<span style="display: none"><?php
|
35 |
<?php esc_html_e('Create a Chart', 'wpdatatables'); ?>
|
36 |
</h2>
|
37 |
<ul class="actions p-t-5">
|
31 |
<img id="wpdt-inline-logo"
|
32 |
src="<?php echo WDT_ROOT_URL; ?>assets/img/logo.svg"/>
|
33 |
<h2>
|
34 |
+
<span style="display: none"><?php esc_html_e('Create a Chart', 'wpdatatables'); ?></span>
|
35 |
<?php esc_html_e('Create a Chart', 'wpdatatables'); ?>
|
36 |
</h2>
|
37 |
<ul class="actions p-t-5">
|
templates/admin/dashboard/dashboard.inc.php
CHANGED
@@ -337,17 +337,14 @@ $tableChartsCount = (int)WDTTools::getTablesCount('chart');
|
|
337 |
</span>
|
338 |
</p>
|
339 |
<p class="wpdt-text wpdt-font m-b-18">
|
340 |
-
A
|
341 |
</p>
|
342 |
<div class="alert alert-info m-b-0" role="alert">
|
343 |
<i class="wpdt-icon-info-circle-full"></i>
|
344 |
<ul>
|
345 |
-
<li><strong>
|
346 |
-
<li
|
347 |
-
<li
|
348 |
-
<li><strong>BugFix:</strong> Fixed issue with merge cells from context menu.</li>
|
349 |
-
<li><strong>BugFix:</strong> Fixed issue with XSS vulnerability founded by mOze.</li>
|
350 |
-
Other small bug fixes and stability improvements.
|
351 |
</ul>
|
352 |
</div>
|
353 |
|
@@ -729,7 +726,7 @@ $tableChartsCount = (int)WDTTools::getTablesCount('chart');
|
|
729 |
<?php esc_html_e('Appointments and Events WordPress Booking Plugin', 'wpdatatables'); ?>
|
730 |
</div>
|
731 |
<p class="wpdt-text wpdt-font m-b-0">
|
732 |
-
<?php esc_html_e('Amelia Lite is a free appointment booking WordPress plugin that allows to set up a fully-featured automated booking system on your WordPress website and is a handy tool for small businesses and individuals that depend on stable appointment booking processes. 40,000+ businesses from healthcare, beauty, sports, automotive, educational, creative, HR and other industries use Amelia to flawlessly manage
|
733 |
<p>
|
734 |
<span class="wdt-stars-container stars-88">★★★★★</span>
|
735 |
<span class="wdt-rating"> <?php esc_html_e('Rating: 4.3 - 97 reviews') ?></span>
|
337 |
</span>
|
338 |
</p>
|
339 |
<p class="wpdt-text wpdt-font m-b-18">
|
340 |
+
A minor update with bug fix and stability improvements:
|
341 |
</p>
|
342 |
<div class="alert alert-info m-b-0" role="alert">
|
343 |
<i class="wpdt-icon-info-circle-full"></i>
|
344 |
<ul>
|
345 |
+
<li><strong>BugFix:</strong> Fixed issue with inserting spaces for column prefix and suffix.</li>
|
346 |
+
<li>Compatibility with WordPress 5.9.3 approved.</li>
|
347 |
+
<li>Other small bug fixes and stability improvements.</li>
|
|
|
|
|
|
|
348 |
</ul>
|
349 |
</div>
|
350 |
|
726 |
<?php esc_html_e('Appointments and Events WordPress Booking Plugin', 'wpdatatables'); ?>
|
727 |
</div>
|
728 |
<p class="wpdt-text wpdt-font m-b-0">
|
729 |
+
<?php esc_html_e('Amelia Lite is a free appointment booking WordPress plugin that allows to set up a fully-featured automated booking system on your WordPress website and is a handy tool for small businesses and individuals that depend on stable appointment booking processes. 40,000+ businesses from healthcare, beauty, sports, automotive, educational, creative, HR and other industries use Amelia to flawlessly manage 500,000+ appointments and events worldwide each month.', 'wpdatatables'); ?></p>
|
730 |
<p>
|
731 |
<span class="wdt-stars-container stars-88">★★★★★</span>
|
732 |
<span class="wdt-rating"> <?php esc_html_e('Rating: 4.3 - 97 reviews') ?></span>
|
wpdatatables.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: wpDataTables - Tables & Table Charts
|
4 |
Plugin URI: https://wpdatatables.com
|
5 |
Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
|
6 |
-
Version: 2.1.
|
7 |
Author: TMS-Plugins
|
8 |
Author URI: https://tms-outsource.com
|
9 |
Text Domain: wpdatatables
|
3 |
Plugin Name: wpDataTables - Tables & Table Charts
|
4 |
Plugin URI: https://wpdatatables.com
|
5 |
Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
|
6 |
+
Version: 2.1.29
|
7 |
Author: TMS-Plugins
|
8 |
Author URI: https://tms-outsource.com
|
9 |
Text Domain: wpdatatables
|