Version Description
- Bug fix: Issue with Gutenberg hooks
- Compatibility with WordPress 5.4.1 approved.
Download this release
Release Info
Developer | wpDataTables |
Plugin | wpDataTables Lite |
Version | 2.0.21 |
Comparing to | |
See all releases |
Code changes from version 2.0.19 to 2.0.21
- config/config.inc.php +1 -1
- readme.txt +7 -3
- source/GutenbergBlock.php +11 -6
- wpdatatables.php +2 -2
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.0.
|
13 |
|
14 |
/**
|
15 |
* Regular Expressions
|
9 |
|
10 |
// Current version
|
11 |
|
12 |
+
define('WDT_CURRENT_VERSION', '2.0.21');
|
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: data 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
|
6 |
Requires at least: 4.0
|
7 |
-
Tested up to: 5.4
|
8 |
Requires PHP: 5.4
|
9 |
-
Stable tag: 2.0.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -14,7 +14,7 @@ Create responsive, sortable tables & charts from Excel, CSV & PHP. Add tables &
|
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
-
wpDataTables is a popular WordPress table plugin used to **quickly create tables & table charts** from Excel,
|
18 |
|
19 |
[youtube https://www.youtube.com/watch?v=06QF0wNEf94]
|
20 |
|
@@ -167,6 +167,10 @@ This can be changed from the “Number format” drop-down menu in the wpDataTab
|
|
167 |
|
168 |
== Changelog ==
|
169 |
|
|
|
|
|
|
|
|
|
170 |
= 2.0.19 =
|
171 |
* Bug fix: Issue with padding in container for Aqua skin in backend
|
172 |
* Bug fix: Issue with padding for ellipsis button in pagination
|
4 |
Plugin URI: https://wpdatatables.com/
|
5 |
Tags: data 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
|
6 |
Requires at least: 4.0
|
7 |
+
Tested up to: 5.4.1
|
8 |
Requires PHP: 5.4
|
9 |
+
Stable tag: 2.0.21
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
+
wpDataTables is a popular WordPress table plugin used to **quickly create tables & table charts** from Excel, CSV, PHP and other data sources. Use our WP table plugin to represent vast amounts of complicated data in concise, user-friendly way using tables or charts.
|
18 |
|
19 |
[youtube https://www.youtube.com/watch?v=06QF0wNEf94]
|
20 |
|
167 |
|
168 |
== Changelog ==
|
169 |
|
170 |
+
= 2.0.21 =
|
171 |
+
* Bug fix: Issue with Gutenberg hooks
|
172 |
+
* Compatibility with WordPress 5.4.1 approved.
|
173 |
+
|
174 |
= 2.0.19 =
|
175 |
* Bug fix: Issue with padding in container for Aqua skin in backend
|
176 |
* Bug fix: Issue with padding for ellipsis button in pagination
|
source/GutenbergBlock.php
CHANGED
@@ -18,8 +18,9 @@ class GutenbergBlock
|
|
18 |
) {
|
19 |
|
20 |
if (self::isGutenbergActive()) {
|
|
|
21 |
$class = get_called_class();
|
22 |
-
add_action('
|
23 |
$class::registerBlockType();
|
24 |
});
|
25 |
}
|
@@ -66,11 +67,7 @@ class GutenbergBlock
|
|
66 |
if (class_exists('DisableGutenberg')) {
|
67 |
return false;
|
68 |
}
|
69 |
-
|
70 |
-
// Fix for conflict with WP Bakery Page Builder
|
71 |
-
if (class_exists('Vc_Manager') && (isset($_GET['classic-editor'])) || (class_exists('Vc_Manager') && get_option('wpb_js_gutenberg_disable') == true)) {
|
72 |
-
return false;
|
73 |
-
}
|
74 |
|
75 |
return true;
|
76 |
}
|
@@ -96,4 +93,12 @@ class GutenbergBlock
|
|
96 |
return false;
|
97 |
}
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
}
|
18 |
) {
|
19 |
|
20 |
if (self::isGutenbergActive()) {
|
21 |
+
/** @var static $class */
|
22 |
$class = get_called_class();
|
23 |
+
add_action('enqueue_block_editor_assets', function () use ($class) {
|
24 |
$class::registerBlockType();
|
25 |
});
|
26 |
}
|
67 |
if (class_exists('DisableGutenberg')) {
|
68 |
return false;
|
69 |
}
|
70 |
+
|
|
|
|
|
|
|
|
|
71 |
|
72 |
return true;
|
73 |
}
|
93 |
return false;
|
94 |
}
|
95 |
|
96 |
+
/**
|
97 |
+
* Register block for gutenberg
|
98 |
+
*/
|
99 |
+
public static function registerBlockType()
|
100 |
+
{
|
101 |
+
|
102 |
+
}
|
103 |
+
|
104 |
}
|
wpdatatables.php
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
|
4 |
/*
|
5 |
Plugin Name: wpDataTables - Tables & Table Charts
|
6 |
-
Plugin URI: https://
|
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.0.
|
9 |
Author: TMS-Plugins
|
10 |
Author URI: https://tms-outsource.com
|
11 |
Text Domain: wpdatatables
|
3 |
|
4 |
/*
|
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.0.21
|
9 |
Author: TMS-Plugins
|
10 |
Author URI: https://tms-outsource.com
|
11 |
Text Domain: wpdatatables
|