get_terms() after wp_update_term() gives old list
|Reported by:||mastermind||Owned by:|
When you call get_terms() after you have modified a term via wp_update_term(), you still get the old list.
Workaround: Call wp_flush_cache() after wp_update_term(). (Obviously, a performance killer.)
Change History (6)
comment:2 SergeyBiryukov — 3 years ago
- Milestone Awaiting Review deleted
- Status changed from new to closed
comment:4 SergeyBiryukov — 3 years ago
- Resolution set to worksforme
- Status changed from reopened to closed
Note: See TracTickets for help on using tickets.