intuitive-custom-post-order icon indicating copy to clipboard operation
intuitive-custom-post-order copied to clipboard

Why does the plugin does not order terms in get_terms_orderby hook in admin?

Open gavin310 opened this issue 1 year ago • 1 comments

(I also posted this on the WordPress support forum but it looks like that forum isn't maintained anymore)

The plugin hooks into the get_terms_orderby filter using the hicpo_get_terms_orderby function. In this function, the first line is if ( is_admin() ) return $orderby;. This prevents the terms from showing in the customized order in the admin listing. If I change the first line to if ( is_admin() ) return 't.term_order'; then it works as expected. What is the reason for not showing terms in the custom order in the admin area?

gavin310 avatar Jun 18 '23 23:06 gavin310

@gavin310 if you found an issue, it would be great to create a PR with you fix and or improvements.

timohubois avatar Dec 15 '23 19:12 timohubois