wp_delete_term() Shouldn't delete other default terms
|Reported by:||ecabuk||Owned by:|
When we create a custom taxonomy with default term, it can be deletable by wp_delete_term() because it controls only category`s default term to prevent delete. I think wp_delete_term() should control all taxonomy default terms, or at least there should be a pre_delete_taxonomy hook to stop the deletion.
Change History (5)
comment:1 SergeyBiryukov — 9 months ago
comment:2 SergeyBiryukov — 9 months ago
- Milestone changed from Awaiting Review to 3.7
- Version changed from trunk to 3.1