[wp-trac] [WordPress Trac] #17140: get_terms() after wp_update_term() gives old list

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 15 13:25:53 UTC 2011


#17140: get_terms() after wp_update_term() gives old list
--------------------------+-----------------------------
 Reporter:  mastermind    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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.)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17140>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list