Version Description
- Add the required column when create a new site, when running under MultiSite environment.
Download this release
Release Info
Developer | nsp-code |
Plugin | Category Order and Taxonomy Terms Order |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7 to 1.7.1
- readme.txt +4 -1
- taxonomy-terms-order.php +15 -1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.1
|
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 =
|
64 |
- Create the required columns for all sites, when running under MultiSite environment.
|
65 |
- Compatibility tag update for WordPress 6.0.1
|
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.1
|
7 |
+
Stable tag: 1.7.1
|
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.1 =
|
64 |
+
- Add the required column when create a new site, when running under MultiSite environment.
|
65 |
+
|
66 |
= 1.7 =
|
67 |
- Create the required columns for all sites, when running under MultiSite environment.
|
68 |
- Compatibility tag update for WordPress 6.0.1
|
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
|
@@ -40,6 +40,20 @@ Domain Path: /languages/
|
|
40 |
tto_activate();
|
41 |
}
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
function TO_deactivated()
|
44 |
{
|
45 |
|
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.1
|
7 |
Author: Nsp-Code
|
8 |
Author URI: https://www.nsp-code.com
|
9 |
Author Email: electronice_delphi@yahoo.com
|
40 |
tto_activate();
|
41 |
}
|
42 |
|
43 |
+
|
44 |
+
add_action( 'wp_initialize_site', 'TO_wp_initialize_site', 99, 2 );
|
45 |
+
function TO_wp_initialize_site( $blog_data, $args )
|
46 |
+
{
|
47 |
+
global $wpdb;
|
48 |
+
|
49 |
+
if (is_plugin_active_for_network('taxonomy-terms-order/taxonomy-terms-order.php'))
|
50 |
+
{
|
51 |
+
switch_to_blog( $blog_data->blog_id );
|
52 |
+
tto_activate();
|
53 |
+
restore_current_blog();
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
function TO_deactivated()
|
58 |
{
|
59 |
|