Custom Taxonomy Order NE - Version 2.9.2

Version Description

  • 2017-11-30
  • Add action 'custom_taxonomy_order_ne_settings_buttons' to settings page.
Download this release

Release Info

Developer mpol
Plugin Icon 128x128 Custom Taxonomy Order NE
Version 2.9.2
Comparing to
See all releases

Code changes from version 2.9.1 to 2.9.2

Files changed (4) hide show
  1. customtaxorder.php +3 -3
  2. js/script.js +0 -1
  3. page-customtaxorder.php +1 -0
  4. readme.txt +5 -1
customtaxorder.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Custom Taxonomy Order NE
4
  Plugin URI: http://products.zenoweb.nl/free-wordpress-plugins/custom-taxonomy-order-ne/
5
  Description: Allows for the ordering of categories and custom taxonomy terms through a simple drag-and-drop interface.
6
- Version: 2.9.1
7
  Author: Marcel Pol
8
  Author URI: http://zenoweb.nl/
9
  License: GPLv2 or later
@@ -40,7 +40,7 @@ Domain Path: /lang/
40
 
41
 
42
  // Plugin Version
43
- define('CUSTOMTAXORDER_VER', '2.9.1');
44
 
45
 
46
  function customtaxorder_register_settings() {
@@ -338,7 +338,7 @@ add_filter('get_terms_defaults', 'customtaxorder_get_terms_defaults', 10, 2);
338
  * get_terms is used in wp_list_categories and get_terms functions.
339
  * get_the_terms is used in the the_tags function.
340
  * tag_cloud_sort is used in the wp_tag_cloud and wp_generate_tag_cloud functions (but then the get_terms filter here does nothing).
341
- * term_query_results is used in WP_Term_Query->get_terms() (probably in WP 4.9+).
342
  *
343
  * Default sorting is by name (according to the codex).
344
  *
3
  Plugin Name: Custom Taxonomy Order NE
4
  Plugin URI: http://products.zenoweb.nl/free-wordpress-plugins/custom-taxonomy-order-ne/
5
  Description: Allows for the ordering of categories and custom taxonomy terms through a simple drag-and-drop interface.
6
+ Version: 2.9.2
7
  Author: Marcel Pol
8
  Author URI: http://zenoweb.nl/
9
  License: GPLv2 or later
40
 
41
 
42
  // Plugin Version
43
+ define('CUSTOMTAXORDER_VER', '2.9.2');
44
 
45
 
46
  function customtaxorder_register_settings() {
338
  * get_terms is used in wp_list_categories and get_terms functions.
339
  * get_the_terms is used in the the_tags function.
340
  * tag_cloud_sort is used in the wp_tag_cloud and wp_generate_tag_cloud functions (but then the get_terms filter here does nothing).
341
+ * term_query_results is used in WP_Term_Query->get_terms() (will probably come in WP Next).
342
  *
343
  * Default sorting is by name (according to the codex).
344
  *
js/script.js CHANGED
@@ -78,4 +78,3 @@ function customtaxorder_asc_sort(a, b) {
78
  //console.log (jQuery(a).text());
79
  return jQuery(a).text().toUpperCase().localeCompare(jQuery(b).text().toUpperCase());
80
  }
81
-
78
  //console.log (jQuery(a).text());
79
  return jQuery(a).text().toUpperCase().localeCompare(jQuery(b).text().toUpperCase());
80
  }
 
page-customtaxorder.php CHANGED
@@ -162,6 +162,7 @@ function customtaxorder() {
162
  <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" id="custom-loading" style="display:none" alt="" />
163
  <input type="submit" name="order-submit" id="order-submit" class="button-primary" value="<?php _e('Update Order', 'custom-taxonomy-order-ne') ?>" />
164
  <input type="submit" name="order-alpha" id="order-alpha" class="button" value="<?php _e('Sort Alphabetical', 'custom-taxonomy-order-ne') ?>" />
 
165
  </div>
166
  <div class="clear"></div>
167
  </div>
162
  <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" id="custom-loading" style="display:none" alt="" />
163
  <input type="submit" name="order-submit" id="order-submit" class="button-primary" value="<?php _e('Update Order', 'custom-taxonomy-order-ne') ?>" />
164
  <input type="submit" name="order-alpha" id="order-alpha" class="button" value="<?php _e('Sort Alphabetical', 'custom-taxonomy-order-ne') ?>" />
165
+ <?php do_action('custom_taxonomy_order_ne_settings_buttons'); ?>
166
  </div>
167
  <div class="clear"></div>
168
  </div>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mpol
3
  Tags: term order, category order, taxonomy order, order
4
  Requires at least: 3.7
5
  Tested up to: 4.9
6
- Stable tag: 2.9.1
7
  License: GPLv2 or later
8
 
9
 
@@ -137,6 +137,10 @@ The left metabox lists the toplevel terms. Right (or below) are the sub-terms.
137
 
138
  == Changelog ==
139
 
 
 
 
 
140
  = 2.9.1 =
141
  * 2017-08-04
142
  * Set Woo attribute terms to public.
3
  Tags: term order, category order, taxonomy order, order
4
  Requires at least: 3.7
5
  Tested up to: 4.9
6
+ Stable tag: 2.9.2
7
  License: GPLv2 or later
8
 
9
 
137
 
138
  == Changelog ==
139
 
140
+ = 2.9.2 =
141
+ * 2017-11-30
142
+ * Add action 'custom_taxonomy_order_ne_settings_buttons' to settings page.
143
+
144
  = 2.9.1 =
145
  * 2017-08-04
146
  * Set Woo attribute terms to public.