Version Description
- Use esc_html to escape the ajax response message, to avoid single quotes which will break the code.
Download this release
Release Info
Developer | nsp-code |
Plugin | Category Order and Taxonomy Terms Order |
Version | 1.7.3 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.3
- include/interface.php +1 -1
- readme.txt +5 -2
- taxonomy-terms-order.php +1 -1
include/interface.php
CHANGED
@@ -198,7 +198,7 @@
|
|
198 |
var serialize_data = JSON.stringify( convArrToObj(mySortable));
|
199 |
|
200 |
jQuery.post( ajaxurl, { action:'update-taxonomy-order', order: serialize_data, nonce : '<?php echo wp_create_nonce( 'update-taxonomy-order' ); ?>' }, function() {
|
201 |
-
jQuery("#ajax-response").html('<div class="message updated fade"><p><?php
|
202 |
jQuery("#ajax-response div").delay(3000).hide("slow");
|
203 |
});
|
204 |
});
|
198 |
var serialize_data = JSON.stringify( convArrToObj(mySortable));
|
199 |
|
200 |
jQuery.post( ajaxurl, { action:'update-taxonomy-order', order: serialize_data, nonce : '<?php echo wp_create_nonce( 'update-taxonomy-order' ); ?>' }, function() {
|
201 |
+
jQuery("#ajax-response").html('<div class="message updated fade"><p><?php echo esc_html ( __( "Items Order Updated", 'taxonomy-terms-order' ) ) ?></p></div>');
|
202 |
jQuery("#ajax-response div").delay(3000).hide("slow");
|
203 |
});
|
204 |
});
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: nsp-code
|
|
3 |
Donate link: http://www.nsp-code.com/donate.php
|
4 |
Tags: category order,terms order, taxonomy order, admin order, categories sort, order category
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to: 6.0.
|
7 |
-
Stable tag: 1.7.
|
8 |
|
9 |
Order Categories and all custom taxonomies terms (hierarchically) using a Drag and Drop Sortable JavaScript capability.
|
10 |
|
@@ -60,6 +60,9 @@ Consider upgrading to our advanced version of this plugin at a very resonable pr
|
|
60 |
|
61 |
== Change Log ==
|
62 |
|
|
|
|
|
|
|
63 |
= 1.7.1 =
|
64 |
- Add the required column when create a new site, when running under MultiSite environment.
|
65 |
|
3 |
Donate link: http://www.nsp-code.com/donate.php
|
4 |
Tags: category order,terms order, taxonomy order, admin order, categories sort, order category
|
5 |
Requires at least: 2.8
|
6 |
+
Tested up to: 6.0.3
|
7 |
+
Stable tag: 1.7.3
|
8 |
|
9 |
Order Categories and all custom taxonomies terms (hierarchically) using a Drag and Drop Sortable JavaScript capability.
|
10 |
|
60 |
|
61 |
== Change Log ==
|
62 |
|
63 |
+
= 1.7.3 =
|
64 |
+
- Use esc_html to escape the ajax response message, to avoid single quotes which will break the code.
|
65 |
+
|
66 |
= 1.7.1 =
|
67 |
- Add the required column when create a new site, when running under MultiSite environment.
|
68 |
|
taxonomy-terms-order.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Category Order and Taxonomy Terms Order
|
4 |
Plugin URI: http://www.nsp-code.com
|
5 |
Description: Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability.
|
6 |
-
Version: 1.7.
|
7 |
Author: Nsp-Code
|
8 |
Author URI: https://www.nsp-code.com
|
9 |
Author Email: electronice_delphi@yahoo.com
|
3 |
Plugin Name: Category Order and Taxonomy Terms Order
|
4 |
Plugin URI: http://www.nsp-code.com
|
5 |
Description: Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability.
|
6 |
+
Version: 1.7.3
|
7 |
Author: Nsp-Code
|
8 |
Author URI: https://www.nsp-code.com
|
9 |
Author Email: electronice_delphi@yahoo.com
|