Removed a new line and some commented code no longer used

This commit is contained in:
2026-07-21 21:54:10 +02:00
parent 507fe4412c
commit 23e0878cd0
2 changed files with 1 additions and 5 deletions
+1
View File
@@ -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 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. * 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. * 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 = = 4.1.0 =
* Compatibility with WordPress version 6.7.1 * Compatibility with WordPress version 6.7.1
-5
View File
@@ -16,16 +16,11 @@ if (!defined('ABSPATH')) {
register_activation_hook(__FILE__, 'wp_jdt_activate_plugin'); register_activation_hook(__FILE__, 'wp_jdt_activate_plugin');
function wp_jdt_activate_plugin() function wp_jdt_activate_plugin()
{ {
$fields = array( $fields = array(
'wp_jdt_info', 'wp_jdt_info',
'wp_jdt_paging', 'wp_jdt_paging',
// 'wp_jdt_paging_type',
// 'wp_jdt_page_length',
'wp_jdt_b_length_change', 'wp_jdt_b_length_change',
'wp_jdt_ordering', 'wp_jdt_ordering',
// 'wp_jdt_order_row',
// 'wp_jdt_order_row_sort',
'wp_jdt_searching', 'wp_jdt_searching',
); );