From abf0b19c0e66fbbe9e020e95675c807213edf34b Mon Sep 17 00:00:00 2001 From: Michel Date: Tue, 21 Jul 2026 22:59:33 +0200 Subject: [PATCH] Removed the extra Select option from the page lenght menu --- readme.txt | 1 + wp-jquery-datatable.php | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/readme.txt b/readme.txt index b6095b0..f6effb1 100644 --- a/readme.txt +++ b/readme.txt @@ -90,6 +90,7 @@ Is this plugin prepared for multisites? Yes. * Rewrite of the wp_jdt_shortcode() function to put security measuremnts in place, better fallback and loading the JS script in the footer. * Removed a new line and some commented code no longer used. * Removed some unnecessary
tags. +* Removed the extra Select option from the page lenght menu. = 4.1.0 = * Compatibility with WordPress version 6.7.1 diff --git a/wp-jquery-datatable.php b/wp-jquery-datatable.php index 1c9860a..69c9425 100644 --- a/wp-jquery-datatable.php +++ b/wp-jquery-datatable.php @@ -262,10 +262,6 @@ function wp_jdt_shortcode($atts) 'search': ':' } }); - - $('#_wrapper select') - .prepend('') - .val(''); });