stuttter/wp-term-images

WP_Term_Meta_UI->save_meta called when updating meta programatically, deletes meta.

Opened this issue · 1 comments

If wp_update_term() is called, to update a term outside of the admin screen, the save_meta function is run from the edit_term action, causing the image meta to be deleted.

There is a line that says:
// Bail if not updating meta_key
But it doesn't actually bail, proceeding to call $this->set_meta, which then calls delete_term_meta().

+1 Same issue here