forked from Michel2/wp-jquery-datatable
Removed the extra Select option from the page lenght menu
This commit is contained in:
@@ -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 <br> tags.
|
||||
* Removed the extra Select option from the page lenght menu.
|
||||
|
||||
= 4.1.0 =
|
||||
* Compatibility with WordPress version 6.7.1
|
||||
|
||||
@@ -262,10 +262,6 @@ function wp_jdt_shortcode($atts)
|
||||
'search': '<?php echo esc_js(esc_html__('Searching', 'wp-jquery-datatable')); ?>:'
|
||||
}
|
||||
});
|
||||
|
||||
$('#<?php echo esc_js($table_id); ?>_wrapper select')
|
||||
.prepend('<option value="<?php echo $table_page_length; ?>"><?php echo esc_js(esc_html__('Select')); ?></option>')
|
||||
.val('');
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user