Compatibility with 5.5

This commit is contained in:
biztechc
2020-09-09 10:40:40 +00:00
parent 4855b9d6ab
commit 97dd64349c
2 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -2,8 +2,8 @@
Contributors: biztechc Contributors: biztechc
Tags: WP jQuery DataTable, jQuery, jQuery DataTable, Table ,DataTable Tags: WP jQuery DataTable, jQuery, jQuery DataTable, Table ,DataTable
Requires at least: 3.6.1 Requires at least: 3.6.1
Tested up to: 5.4 Tested up to: 5.5
Stable tag: 2.0.1 Stable tag: 3.0.0
License: GPLv2 or later License: GPLv2 or later
Features can be settings to meet your exact needs for your table implementations. like Paging,Ordering,search, etc... 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 = = 2.0.1 =
* Compatibility with WordPress version 5.4 * Compatibility with WordPress version 5.4
= 3.0.0 =
* Compatibility with WordPress version 5.5
== Upgrade Notice == == Upgrade Notice ==
+2 -2
View File
@@ -4,7 +4,7 @@
* Description: Features can be settings to meet your exact needs for your table implementations. like Paging,Ordering,Searching, etc... * Description: Features can be settings to meet your exact needs for your table implementations. like Paging,Ordering,Searching, etc...
* Author: biztechc * Author: biztechc
* Author URI: https://www.appjetty.com/ * Author URI: https://www.appjetty.com/
* Version: 2.0.1 * Version: 3.0.0
*/ */
register_activation_hook( __FILE__, 'wp_jdt_activate_plugin' ); 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 'Specific Column Order' is not null and ordring is true
if ( $atts['order_row_number'] != '' && $atts['ordering'] == '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"; $wp_jdt_script .= "} ); \n";