Ninja Tables – WP Data Table Plugin for WordPress - Version 2.0.5

Version Description

Download this release

Release Info

Developer techjewel
Plugin Icon 128x128 Ninja Tables – WP Data Table Plugin for WordPress
Version 2.0.5
Comparing to
See all releases

Code changes from version 2.0.4 to 2.0.5

includes/libs/TableDrivers/NinjaFooTable.php CHANGED
@@ -44,7 +44,6 @@ class NinjaFooTable {
44
  }
45
 
46
  private static function render( $tableArray ) {
47
-
48
  extract( $tableArray );
49
  if ( ! count( $columns ) ) {
50
  return;
@@ -54,8 +53,7 @@ class NinjaFooTable {
54
  if ( isset( $settings['render_type'] ) && $settings['render_type'] ) {
55
  $renderType = $settings['render_type'];
56
  }
57
-
58
-
59
  $formatted_columns = array();
60
  $sortingType = ( isset( $settings['sorting_type'] ) ) ? $settings['sorting_type'] : 'by_created_at';
61
 
@@ -247,15 +245,14 @@ class NinjaFooTable {
247
  }
248
 
249
  private static function addInlineVars( $vars, $table_id ) {
250
-
251
  add_action( 'wp_footer', function () use ( $vars, $table_id ) {
252
  ?>
253
  <script type="text/javascript">
254
  window.ninja_footables.tables["table_<?php echo $table_id;?>"] = <?php echo $vars ?>;
255
  </script>
256
  <?php
257
- }, 100 );
258
-
259
  }
260
 
261
  public static function getColumnType( $column ) {
44
  }
45
 
46
  private static function render( $tableArray ) {
 
47
  extract( $tableArray );
48
  if ( ! count( $columns ) ) {
49
  return;
53
  if ( isset( $settings['render_type'] ) && $settings['render_type'] ) {
54
  $renderType = $settings['render_type'];
55
  }
56
+
 
57
  $formatted_columns = array();
58
  $sortingType = ( isset( $settings['sorting_type'] ) ) ? $settings['sorting_type'] : 'by_created_at';
59
 
245
  }
246
 
247
  private static function addInlineVars( $vars, $table_id ) {
248
+
249
  add_action( 'wp_footer', function () use ( $vars, $table_id ) {
250
  ?>
251
  <script type="text/javascript">
252
  window.ninja_footables.tables["table_<?php echo $table_id;?>"] = <?php echo $vars ?>;
253
  </script>
254
  <?php
255
+ }, 10000 );
 
256
  }
257
 
258
  public static function getColumnType( $column ) {
ninja-tables.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Ninja Tables
17
  * Plugin URI: https://wpmanageninja.com/plugins/ninja-tables/
18
  * Description: The Easiest & Fastest Responsive Table Plugin on WordPress. Multiple templates, drag-&-drop live table builder, multiple color scheme, and styles.
19
- * Version: 2.0.4
20
  * Author: WPManageNinja
21
  * Author URI: https://wpmanageninja.com/
22
  * License: GPL-2.0+
@@ -33,7 +33,7 @@ if (!defined('WPINC')) {
33
  define('NINJA_TABLES_DIR_URL', plugin_dir_url(__FILE__));
34
  define('NINJA_TABLES_DIR_PATH', plugin_dir_path(__FILE__));
35
  define('NINJA_TABLES_PUBLIC_DIR_URL', NINJA_TABLES_DIR_URL.'public/');
36
- define('NINJA_TABLES_VERSION', '2.0.4');
37
 
38
  /**
39
  * The code that runs during plugin activation.
16
  * Plugin Name: Ninja Tables
17
  * Plugin URI: https://wpmanageninja.com/plugins/ninja-tables/
18
  * Description: The Easiest & Fastest Responsive Table Plugin on WordPress. Multiple templates, drag-&-drop live table builder, multiple color scheme, and styles.
19
+ * Version: 2.0.5
20
  * Author: WPManageNinja
21
  * Author URI: https://wpmanageninja.com/
22
  * License: GPL-2.0+
33
  define('NINJA_TABLES_DIR_URL', plugin_dir_url(__FILE__));
34
  define('NINJA_TABLES_DIR_PATH', plugin_dir_path(__FILE__));
35
  define('NINJA_TABLES_PUBLIC_DIR_URL', NINJA_TABLES_DIR_URL.'public/');
36
+ define('NINJA_TABLES_VERSION', '2.0.5');
37
 
38
  /**
39
  * The code that runs during plugin activation.
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: WordPress tables Plugin, wp tables, data tables, datatables plugin, alter
5
  Requires at least: 4.5
6
  Requires PHP: 5.4 or greater
7
  Tested up to: 4.9.5
8
- Stable tag: 2.0.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
5
  Requires at least: 4.5
6
  Requires PHP: 5.4 or greater
7
  Tested up to: 4.9.5
8
+ Stable tag: 2.0.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11