Hierarchical Value Type Equality & Other Plugin Compatibility
-
I recently ran across a plugin for creating taxonomies that caused an issue with this plugin. The taxonomy plugin stores it’s “hierarchical” flag as a “1” or “0” rather than “true/false.” As a result, the taxonomies created by it were completely ignored by this plugin due to the use of strict type comparisons (!== and ===) in the plugin files.
To fix this I changed line 102 of taxonomy-terms-order.php and 80 of interface.php to:
if ($taxonomy_info->hierarchical != TRUE)
Is there any reason that this couldn’t be changed to the default for this plugin?
https://www.ads-software.com/extend/plugins/taxonomy-terms-order/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hierarchical Value Type Equality & Other Plugin Compatibility’ is closed to new replies.