This isn’t a bug specific to this plugin, it is due to changes in wp 3.7.
you can add this to your theme functions.php as a temp solution:
$taxnomy_name = 'category';
clean_term_cache ( _get_term_hierarchy($taxnomy_name), $taxnomy_name);
Hello
the clean_term_cache option seem to work for ‘category’ (standard) – but it does not appear to work for custom taxonomies. Would you have a thought on this?
Thanks
change $taxonomy_name…
Create array with all your taxonomies..
Hello
I tried your suggestion
$taxnomy_name = array(‘Taxonomy1’);
clean_term_cache ( _get_term_hierarchy($taxnomy_name), $taxnomy_name);
I also tried array(‘category’, ‘Taxonomy1’);
But this do not work either. This is a shame as your plugin is the best one out there for re-arranging posts and taxonomies. Hoping you might have other ideas?
Many Thanks!
I’ve done some more testing – and narrowed down the problem a little bit. On doing a get_taxonomies() – i found that my custom taxonomies were not appearing – suggesting a problem at add_action(“init” call time.
I instead tried add_action(“init”,”register_taxonomies”,0) – and get_taxonomies now works.
clean_term_cache still does not work for me – but the force_flush_term_cache() function suggested on http://core.trac.wordpress.org/ticket/14485 – did seem to work.
however, even with this – custom taxonomy entries at with no parent – still do not seem to sort properly…I drag and drop them, refresh the page – but the natural entry order still exists. Child taxonomy entries seem to order fine..
Hope this narrows things down.
Thanks
I’ve dug some more into this plugin and I have a few comments which I feel should be made.
1. There seems to be a problem in function inline_edit_boxes() with update_post_meta; sometimes this does not work (which compounds the problem) – I believe this is related to revision posts. If the post_id that is being used exists in wp_posts as an ACTUAL post that has revisions – no update or insert is done.
2. I am wondering is it a serious flaw to store term_id in wp_postmeta table. For example – my understanding is that if I delete a post/page/custom post from wp_posts – then all related metadata is also deleted from wp_postmeta; given that a term_id could indeed have an equivalent in wp_posts – then this ultimately means that order is broken for taxonomies.
Hope you will consider this as thoughtful input and not criticism!!