wp_insert_term and wp_update_term should include taxonomy as the second parameter when invoking actions edit_terms and edited_terms
|Reported by:||akibjorklund||Owned by:||nacin|
wp_insert_term and wp_update_term only send term id when invoking edit_terms and edited_terms. This makes it hard for plugins hooking into those to retrieve the actual term, since get_term and get_term_by require taxonomy in addition to the id.
Other actions on these functions do add the taxonomy to the parameters. For example edit_term and edited_term. So it is hard to understand why the hooks in question do not.
Change History (7)
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed