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

Version Description

Download this release

Release Info

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

Code changes from version 3.2.0 to 3.2.1

Files changed (3) hide show
  1. ninja-tables.php +2 -2
  2. public/NinjaTablePublic.php +2 -2
  3. readme.txt +1 -1
ninja-tables.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Ninja Tables
17
  * Plugin URI: https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/
18
  * Description: The Easiest & Fastest Responsive Table Plugin on WordPress. Multiple templates, drag-&-drop live table builder, multiple color scheme, and styles.
19
- * Version: 3.2.0
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', '3.2.0');
37
  define('NINJA_TABLES_ASSET_VERSION', '3.1.0');
38
 
39
  $ninja_table_instances = array();
16
  * Plugin Name: Ninja Tables
17
  * Plugin URI: https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/
18
  * Description: The Easiest & Fastest Responsive Table Plugin on WordPress. Multiple templates, drag-&-drop live table builder, multiple color scheme, and styles.
19
+ * Version: 3.2.1
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', '3.2.1');
37
  define('NINJA_TABLES_ASSET_VERSION', '3.1.0');
38
 
39
  $ninja_table_instances = array();
public/NinjaTablePublic.php CHANGED
@@ -111,10 +111,10 @@ class NinjaTablePublic
111
  if($dataProvider == 'default') {
112
  $newStyledData = array();
113
  $counter = $skip;
114
- foreach ($formatted_data as $datum) {
115
  $newStyledData[] = array(
116
  'options' => array(
117
- 'classes' => (isset($datum['___id___'])) ? 'ninja_table_row_'.$counter.' nt_row_id_'.$datum['___id___'] : '',
118
  ),
119
  'value' => $datum
120
  );
111
  if($dataProvider == 'default') {
112
  $newStyledData = array();
113
  $counter = $skip;
114
+ foreach ($formatted_data as $index => $datum) {
115
  $newStyledData[] = array(
116
  'options' => array(
117
+ 'classes' => (isset($datum['___id___'])) ? 'ninja_table_row_'.$counter.' nt_row_id_'.$datum['___id___'] : 'ninja_table_row_'.$counter,
118
  ),
119
  'value' => $datum
120
  );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: table, Data Tables, WP Data tables, WordPress table Plugin, Table Grid, w
5
  Requires at least: 4.5
6
  Requires PHP: 5.4 or greater
7
  Tested up to: 5.0.3
8
- Stable tag: 3.2.0
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: 5.0.3
8
+ Stable tag: 3.2.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11