From 23e0878cd0726e314c3b68001ff7c8d4fc2c8d5c Mon Sep 17 00:00:00 2001 From: Michel Date: Tue, 21 Jul 2026 21:54:10 +0200 Subject: [PATCH] Removed a new line and some commented code no longer used --- readme.txt | 1 + wp-jquery-datatable.php | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/readme.txt b/readme.txt index 4d96ad3..b5cce71 100644 --- a/readme.txt +++ b/readme.txt @@ -88,6 +88,7 @@ Is this plugin prepared for multisites? Yes. * Changed the radio buttons on the options page to use the WordPress checked() function. * Changed get_option() for the options page to make use a $default_value. * 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. = 4.1.0 = * Compatibility with WordPress version 6.7.1 diff --git a/wp-jquery-datatable.php b/wp-jquery-datatable.php index 5e360ed..d274db1 100644 --- a/wp-jquery-datatable.php +++ b/wp-jquery-datatable.php @@ -16,16 +16,11 @@ if (!defined('ABSPATH')) { register_activation_hook(__FILE__, 'wp_jdt_activate_plugin'); function wp_jdt_activate_plugin() { - $fields = array( 'wp_jdt_info', 'wp_jdt_paging', - // 'wp_jdt_paging_type', - // 'wp_jdt_page_length', 'wp_jdt_b_length_change', 'wp_jdt_ordering', - // 'wp_jdt_order_row', - // 'wp_jdt_order_row_sort', 'wp_jdt_searching', );