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
+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...
* 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";