Changeset 3416546
- Timestamp:
- 12/10/2025 03:38:29 PM (3 days ago)
- Location:
- term-management-tools
- Files:
-
- 2 deleted
- 4 edited
- 6 copied
-
tags/2.0.2 (copied) (copied from term-management-tools/trunk)
-
tags/2.0.2/assets (copied) (copied from term-management-tools/trunk/assets)
-
tags/2.0.2/classes (copied) (copied from term-management-tools/trunk/classes)
-
tags/2.0.2/classes/class-Handlers.php (modified) (2 diffs)
-
tags/2.0.2/classes/class-WPML.php (copied) (copied from term-management-tools/trunk/classes/class-WPML.php)
-
tags/2.0.2/readme.txt (copied) (copied from term-management-tools/trunk/readme.txt) (7 diffs)
-
tags/2.0.2/script.dev.js (deleted)
-
tags/2.0.2/script.js (deleted)
-
tags/2.0.2/term-management-tools.php (copied) (copied from term-management-tools/trunk/term-management-tools.php) (1 diff)
-
trunk/classes/class-Handlers.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (7 diffs)
-
trunk/term-management-tools.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
term-management-tools/tags/2.0.2/classes/class-Handlers.php
r2431741 r3416546 71 71 72 72 $old_term = get_term( $term_id, $taxonomy ); 73 // A little bit of redundancy to pre fent an unecessary hit to the db73 // A little bit of redundancy to prevent an unnecessary hit to the db 74 74 if ( null === $first_found_parent_in_list_of_terms_to_merge ) { 75 75 $first_found_parent_in_list_of_terms_to_merge = $old_term->parent; … … 315 315 316 316 } 317 318 -
term-management-tools/tags/2.0.2/readme.txt
r2436048 r3416546 1 === Term Management Tools ===1 === Term Management Tools === 2 2 Contributors: theMikeD, scribu 3 3 Tags: admin, category, tag, term, taxonomy, hierarchy, organize, manage, merge, change, parent, child … … 5 5 Tested up to: 5.6 6 6 Stable tag: 2.0.1 7 Requires PHP: 7.1 7 8 License: GPLv2 or later 8 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 Requires PHP: 7.110 10 11 Allows you to merge terms, move terms between taxonomies, and set term parents, individually or in bulk. WPML is supported when changing taxonomies.11 Allows you to merge terms, move terms between taxonomies, and set term parents, individually or in bulk. The "Change Taxonomy" option supports WPML-translated terms. 12 12 13 == Description ==13 == Description == 14 14 15 15 _Please note this plugin requires at least PHP 7.1._ … … 23 23 It works with tags, categories and [custom taxonomies](http://codex.wordpress.org/Custom_Taxonomies). 24 24 25 == Usage ==25 == Usage == 26 26 27 27 1. Go to the taxonomy page containing terms you want to modify. For example, for categories go to `WP-Admin → Posts → Categories`. … … 42 42 Find a problem? Fixes can be submitted on [Github](https://github.com/theMikeD/wp-term-management-tools). 43 43 44 == Installation ==44 == Installation == 45 45 46 46 Either use the WordPress Plugin Installer (Dashboard → Plugins → Add New, then search for "term management tools"), or manually as follows: … … 62 62 Initial version of this plugin was by [scribu](http://scribu.net/), with contributions from others. See full code history on [Github](https://github.com/theMikeD/wp-term-management-tools). 63 63 64 == Screenshots ==64 == Screenshots == 65 65 66 66 1. Set Parent option. In this case, the term "New EN" will be set as a child of "Parent One EN" … … 68 68 3. Change Taxonomy option. Here, the "Parent One EN" category will be sent to the custom taxonomy "Hierarchical" (which I added for the sake of testing). A few other things to note here. First, the two child terms will also be moved and, because the target taxonomy is also hierarchical the parent-child relationships will be preserved. Second, if there are any WPML translations of these terms, they will also be moved and the translations maintained. 69 69 70 == Changelog == 70 == Changelog == 71 72 = 2.0.2 = 73 * Confirmed php suppoprt up to php8.4 74 * Confirmed WordPress support up 71 75 72 76 = 2.0.1 = … … 98 102 * preserve term hierarchy when switching taxonomies. props Chris Caller 99 103 100 = 1.1.2 =104 = 1.1.2 = 101 105 * added 'term_management_tools_term_merged' action hook. props Amit Gupta 102 106 103 = 1.1.1 =107 = 1.1.1 = 104 108 * fixed error notices 105 109 * added Persian translation 106 110 107 = 1.1 =111 = 1.1 = 108 112 * added 'Change taxonomy' action 109 113 110 = 1.0 =114 = 1.0 = 111 115 * initial release 112 116 * [more info](http://scribu.net/wordpress/term-management-tools/tmt-1-0.html) -
term-management-tools/tags/2.0.2/term-management-tools.php
r2436048 r3416546 2 2 /* 3 3 Plugin Name: Term Management Tools 4 Version: 2.0. 14 Version: 2.0.2 5 5 Description: Allows you to merge terms, move terms between taxonomies, and set term parents, individually or in bulk. The "Change Taxonomy" option supports WPML-translated terms. 6 6 Author: theMikeD, scribu -
term-management-tools/trunk/classes/class-Handlers.php
r2431741 r3416546 71 71 72 72 $old_term = get_term( $term_id, $taxonomy ); 73 // A little bit of redundancy to pre fent an unecessary hit to the db73 // A little bit of redundancy to prevent an unnecessary hit to the db 74 74 if ( null === $first_found_parent_in_list_of_terms_to_merge ) { 75 75 $first_found_parent_in_list_of_terms_to_merge = $old_term->parent; … … 315 315 316 316 } 317 318 -
term-management-tools/trunk/readme.txt
r2436048 r3416546 1 === Term Management Tools ===1 === Term Management Tools === 2 2 Contributors: theMikeD, scribu 3 3 Tags: admin, category, tag, term, taxonomy, hierarchy, organize, manage, merge, change, parent, child … … 5 5 Tested up to: 5.6 6 6 Stable tag: 2.0.1 7 Requires PHP: 7.1 7 8 License: GPLv2 or later 8 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 Requires PHP: 7.110 10 11 Allows you to merge terms, move terms between taxonomies, and set term parents, individually or in bulk. WPML is supported when changing taxonomies.11 Allows you to merge terms, move terms between taxonomies, and set term parents, individually or in bulk. The "Change Taxonomy" option supports WPML-translated terms. 12 12 13 == Description ==13 == Description == 14 14 15 15 _Please note this plugin requires at least PHP 7.1._ … … 23 23 It works with tags, categories and [custom taxonomies](http://codex.wordpress.org/Custom_Taxonomies). 24 24 25 == Usage ==25 == Usage == 26 26 27 27 1. Go to the taxonomy page containing terms you want to modify. For example, for categories go to `WP-Admin → Posts → Categories`. … … 42 42 Find a problem? Fixes can be submitted on [Github](https://github.com/theMikeD/wp-term-management-tools). 43 43 44 == Installation ==44 == Installation == 45 45 46 46 Either use the WordPress Plugin Installer (Dashboard → Plugins → Add New, then search for "term management tools"), or manually as follows: … … 62 62 Initial version of this plugin was by [scribu](http://scribu.net/), with contributions from others. See full code history on [Github](https://github.com/theMikeD/wp-term-management-tools). 63 63 64 == Screenshots ==64 == Screenshots == 65 65 66 66 1. Set Parent option. In this case, the term "New EN" will be set as a child of "Parent One EN" … … 68 68 3. Change Taxonomy option. Here, the "Parent One EN" category will be sent to the custom taxonomy "Hierarchical" (which I added for the sake of testing). A few other things to note here. First, the two child terms will also be moved and, because the target taxonomy is also hierarchical the parent-child relationships will be preserved. Second, if there are any WPML translations of these terms, they will also be moved and the translations maintained. 69 69 70 == Changelog == 70 == Changelog == 71 72 = 2.0.2 = 73 * Confirmed php suppoprt up to php8.4 74 * Confirmed WordPress support up 71 75 72 76 = 2.0.1 = … … 98 102 * preserve term hierarchy when switching taxonomies. props Chris Caller 99 103 100 = 1.1.2 =104 = 1.1.2 = 101 105 * added 'term_management_tools_term_merged' action hook. props Amit Gupta 102 106 103 = 1.1.1 =107 = 1.1.1 = 104 108 * fixed error notices 105 109 * added Persian translation 106 110 107 = 1.1 =111 = 1.1 = 108 112 * added 'Change taxonomy' action 109 113 110 = 1.0 =114 = 1.0 = 111 115 * initial release 112 116 * [more info](http://scribu.net/wordpress/term-management-tools/tmt-1-0.html) -
term-management-tools/trunk/term-management-tools.php
r2436048 r3416546 2 2 /* 3 3 Plugin Name: Term Management Tools 4 Version: 2.0. 14 Version: 2.0.2 5 5 Description: Allows you to merge terms, move terms between taxonomies, and set term parents, individually or in bulk. The "Change Taxonomy" option supports WPML-translated terms. 6 6 Author: theMikeD, scribu
Note: See TracChangeset
for help on using the changeset viewer.