Sorting of certain child terms fails
-
(I’m using machine translation, so I apologize if this is a strange expression.)
Sorting child terms of a particular term fails.
For example, suppose you have the following terms:- term A
- term A-1
- term A-2
- term A-3
- term B
- term B-1
- term B-2
- term B-3
- term C
- term C-1
- term C-2
- term C-3
Now, rearrange the child terms of term B from Order Sub-terms as follows and press Update Order.
- term B-2
- term B-3
- term B-1
Then, after the screen is reloaded, the specified order is broken and displayed as shown below.
- term B-3
- term B-1
- term B-2
If you press Update Order without rearranging the order, the order will be different from before you pressed the button.
- term B-2
- term B-1
- term B-3
To make matters worse, this problem doesn’t occur with term A or term C.
The problem only occurs with child terms of term B.The order on the site matches the admin screen, so there is no problem with the code for saving to the database or displaying in the theme file, and I think that the order information changed for some reason when I pressed Update Order.
Please let me know if there is anything I should check or fix.
Environment where the problem occurs:
- WordPress 6.7.2
- Custom Taxonomy Order 4.0.2
What I tried to solve the problem:
- Turn off plugins other than Custom Taxonomy Order
It didn’t solve the problem. There doesn’t seem to be any interference with other plugins. - Change the slug name of the term
I thought that reserved words, symbols (- and _), number of characters, etc. might be the cause, so I changed it to a shorter one such as “aaa”, but it didn’t solve the problem.
- term A
- You must be logged in to reply to this topic.