this is a big of a hair-tearer. My plugin runs at post-save time, and adds tags to a post. The problem is, if I use wp_get_post_terms()
to get the existing tags, I’m getting the tags from the last save of the post. This basically means that tags can’t be deleted.
Does anyone know how to get the current state of the Post Tags meta box in the Edit Post Dashboard panel? I’ve tried dumping out the $_POST data, but I can’t see anything obvious there, unless it’s hidden in a sub-array.