wpDataTables Lite - Version 2.0.4

Version Description

  • Add French language for translation
  • Bug fixes and stability improvements.
  • Compatibility with WordPress 4.9.8 approved.
Download this release

Release Info

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

Code changes from version 2.0.3 to 2.0.4

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.3');
13
  define('WDT_TIMEOUT_FACTOR', 5);
14
 
15
  /**
9
 
10
  // Current version
11
 
12
+ define('WDT_CURRENT_VERSION', '2.0.4');
13
  define('WDT_TIMEOUT_FACTOR', 5);
14
 
15
  /**
controllers/wdt_functions.php CHANGED
@@ -253,6 +253,16 @@ function wdtUninstallDelete() {
253
  function wdtActivation($networkWide) {
254
  global $wpdb;
255
 
 
 
 
 
 
 
 
 
 
 
256
  if (function_exists('is_multisite') && is_multisite()) {
257
  //check if it is network activation if so run the activation function for each id
258
  if ($networkWide) {
253
  function wdtActivation($networkWide) {
254
  global $wpdb;
255
 
256
+ // Check PHP version
257
+ if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 50400) {
258
+ deactivate_plugins(basename(__FILE__));
259
+ wp_die(
260
+ '<p>The <strong>wpDataTables Lite</strong> plugin requires PHP version 5.4 or greater.</p>',
261
+ 'Plugin Activation Error',
262
+ ['response' => 200, 'back_link' => TRUE]
263
+ );
264
+ }
265
+
266
  if (function_exists('is_multisite') && is_multisite()) {
267
  //check if it is network activation if so run the activation function for each id
268
  if ($networkWide) {
readme.txt CHANGED
@@ -4,9 +4,9 @@ Author URI: http://tms-plugins.com/
4
  Plugin URI: http://wpdatatables.com/
5
  Tags: tables, wpdatatables, tables from excel, tables from CSV, datatables
6
  Requires at least: 4.0
7
- Tested up to: 4.9.7
8
  Requires PHP: 5.4
9
- Stable tag: 2.0.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -117,6 +117,11 @@ This can be changed from the “Number format” drop-down menu in the wpDataTab
117
 
118
  == Changelog ==
119
 
 
 
 
 
 
120
  = 2.0.3 =
121
  * An option to choose CSV delimiter in the Settings page.
122
  * Bug fixes and stability improvements.
4
  Plugin URI: http://wpdatatables.com/
5
  Tags: tables, wpdatatables, tables from excel, tables from CSV, datatables
6
  Requires at least: 4.0
7
+ Tested up to: 4.9.8
8
  Requires PHP: 5.4
9
+ Stable tag: 2.0.4
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
117
 
118
  == Changelog ==
119
 
120
+ = 2.0.4 =
121
+ * Add French language for translation
122
+ * Bug fixes and stability improvements.
123
+ * Compatibility with WordPress 4.9.8 approved.
124
+
125
  = 2.0.3 =
126
  * An option to choose CSV delimiter in the Settings page.
127
  * Bug fixes and stability improvements.
wpdatatables.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin Name: wpDataTables
6
  Plugin URI: http://tms-plugins.com
7
  Description: Add interactive tables easily from any input source
8
- Version: 2.0.3 Lite
9
  Author: TMS-Plugins
10
  Author URI: http://tms-plugins.com
11
  Text Domain: wpdatatables
5
  Plugin Name: wpDataTables
6
  Plugin URI: http://tms-plugins.com
7
  Description: Add interactive tables easily from any input source
8
+ Version: 2.0.4 Lite
9
  Author: TMS-Plugins
10
  Author URI: http://tms-plugins.com
11
  Text Domain: wpdatatables