From 97dd64349c3ca5933c71a56a59f4f6564c632365 Mon Sep 17 00:00:00 2001 From: biztechc Date: Wed, 9 Sep 2020 10:40:40 +0000 Subject: [PATCH] Compatibility with 5.5 --- readme.txt | 6 ++++-- wp-jquery-datatable.php | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/readme.txt b/readme.txt index 514caf9..601b2d9 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: biztechc Tags: WP jQuery DataTable, jQuery, jQuery DataTable, Table ,DataTable Requires at least: 3.6.1 -Tested up to: 5.4 -Stable tag: 2.0.1 +Tested up to: 5.5 +Stable tag: 3.0.0 License: GPLv2 or later Features can be settings to meet your exact needs for your table implementations. like Paging,Ordering,search, etc... @@ -89,4 +89,6 @@ Is this plugin prepared for multisites? Yes. = 2.0.1 = * Compatibility with WordPress version 5.4 += 3.0.0 = +* Compatibility with WordPress version 5.5 == Upgrade Notice == diff --git a/wp-jquery-datatable.php b/wp-jquery-datatable.php index 5f14ffd..731c781 100644 --- a/wp-jquery-datatable.php +++ b/wp-jquery-datatable.php @@ -4,7 +4,7 @@ * Description: Features can be settings to meet your exact needs for your table implementations. like Paging,Ordering,Searching, etc... * Author: biztechc * Author URI: https://www.appjetty.com/ - * Version: 2.0.1 + * Version: 3.0.0 */ register_activation_hook( __FILE__, 'wp_jdt_activate_plugin' ); @@ -344,7 +344,7 @@ function wp_jdt_shortcode( $atts, $content = "" ) { // if 'Specific Column Order' is not null and ordring is true if ( $atts['order_row_number'] != '' && $atts['ordering'] == 'true' ) { - $wp_jdt_script .= "jQuery('#$atts[id]_wrapper select')[0].options[0].selected = true;"; + //$wp_jdt_script .= "jQuery('#$atts[id]_wrapper select')[0].options[0].selected = true;"; } $wp_jdt_script .= "} ); \n";