OK, I figured it out. There were remnants from old pre-CPT-onomies taxonomy experiments that were getting in the way.
I had a sneaky feeling it was me and not CPT-onomies.
Again, great job on a great script. A donation will be forthcoming! 🙂
Thanks for the quick response!
I insert the post with wp_insert_post and then set the terms for the CPT-onomies using $cpt_onomy->wp_set_object_terms().
I am calling both functions on my own – outside of WordPress.
wp_post_meta is being updated – meta_key(s): _custom_post_type_onomies_ is/are correct and the post has the correct taxonomy and terms, but wp_term_relationships is not being updated which is affecting if a post is showing up in a loop that uses that information. However, two weeks ago, wp_term_relationships was being updated…
It probably is something I’m doing and not an issue with CPT-onomies. But I wanted to make sure before I tear my hair out (difficult – I don’t have much hair).