To follow how we pass in the term_id, we should use the taxonomy from the term object returned by bcn_pick_post_term. This will allow bcn_pick_post_term to change the taxonomy if necessary. A longer term solution will be to change term_parents to accept the WP_Term object (see #240).
To follow how we pass in the term_id, we should use the taxonomy from the term object returned by
bcn_pick_post_term
. This will allowbcn_pick_post_term
to change the taxonomy if necessary. A longer term solution will be to changeterm_parents
to accept theWP_Term
object (see #240).