Version Description
- BugFix: Fixed issue with PHP warnings. Other small bug fixes and stability improvements.
Download this release
Release Info
Developer | wpDataTables |
Plugin | wpDataTables Lite |
Version | 2.1.34 |
Comparing to | |
See all releases |
Code changes from version 2.1.33 to 2.1.34
assets/js/wpdatatables/admin/constructor/wdt.simpleTable.js
CHANGED
@@ -917,10 +917,11 @@
|
|
917 |
if (attachment.sizes['full']) {
|
918 |
fullUrl = attachment.sizes['full'].url;
|
919 |
}
|
|
|
|
|
|
|
920 |
}
|
921 |
-
|
922 |
-
attrs = 'width="' + attachment.sizes[displaySettings.size].width + '" height="' + attachment.sizes[displaySettings.size].width + '"';
|
923 |
-
}
|
924 |
switch (displaySettings.link) {
|
925 |
case 'file':
|
926 |
link = attachment.url;
|
917 |
if (attachment.sizes['full']) {
|
918 |
fullUrl = attachment.sizes['full'].url;
|
919 |
}
|
920 |
+
if (type == 'image') {
|
921 |
+
attrs = 'width="' + attachment.sizes[displaySettings.size].width + '" height="' + attachment.sizes[displaySettings.size].width + '"';
|
922 |
+
}
|
923 |
}
|
924 |
+
|
|
|
|
|
925 |
switch (displaySettings.link) {
|
926 |
case 'file':
|
927 |
link = attachment.url;
|
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.34');
|
13 |
|
14 |
/**
|
15 |
* Regular Expressions
|
controllers/wdt_functions.php
CHANGED
@@ -810,7 +810,8 @@ function wdtAddButtons($pluginArray) {
|
|
810 |
* @return mixed
|
811 |
*/
|
812 |
function wdtRegisterButtons($buttons) {
|
813 |
-
|
|
|
814 |
|
815 |
return $buttons;
|
816 |
}
|
810 |
* @return mixed
|
811 |
*/
|
812 |
function wdtRegisterButtons($buttons) {
|
813 |
+
$buttons[] = 'wpdatatable';
|
814 |
+
$buttons[] = 'wpdatachart';
|
815 |
|
816 |
return $buttons;
|
817 |
}
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: table, table builder, data tables, tables, charts, datatables, simple tabl
|
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 6.0
|
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 |
|
@@ -333,6 +333,10 @@ This can be changed from the “Number format” drop-down menu in the wpDataTab
|
|
333 |
|
334 |
== Changelog ==
|
335 |
|
|
|
|
|
|
|
|
|
336 |
= 2.1.33 =
|
337 |
* BugFix: Fixed issue with Elementor integration.
|
338 |
Other small bug fixes and stability improvements.
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 6.0
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 2.1.34
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
333 |
|
334 |
== Changelog ==
|
335 |
|
336 |
+
= 2.1.34 =
|
337 |
+
* BugFix: Fixed issue with PHP warnings.
|
338 |
+
Other small bug fixes and stability improvements.
|
339 |
+
|
340 |
= 2.1.33 =
|
341 |
* BugFix: Fixed issue with Elementor integration.
|
342 |
Other small bug fixes and stability improvements.
|
templates/admin/dashboard/dashboard.inc.php
CHANGED
@@ -480,7 +480,7 @@ $tableChartsCount = (int)WDTTools::getTablesCount('chart');
|
|
480 |
'title' => $node->getElementsByTagName('title')->item(0)->nodeValue,
|
481 |
'link' => $node->getElementsByTagName('link')->item(0)->nodeValue
|
482 |
);
|
483 |
-
|
484 |
}
|
485 |
$limit = 4;
|
486 |
if(!empty($feed)){
|
480 |
'title' => $node->getElementsByTagName('title')->item(0)->nodeValue,
|
481 |
'link' => $node->getElementsByTagName('link')->item(0)->nodeValue
|
482 |
);
|
483 |
+
$feed[] = $item;
|
484 |
}
|
485 |
$limit = 4;
|
486 |
if(!empty($feed)){
|
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.34
|
7 |
Author: TMS-Plugins
|
8 |
Author URI: https://tms-outsource.com
|
9 |
Text Domain: wpdatatables
|