[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 15:11:02 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        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by scribu):

 * keywords:   => close


Comment:

 The solution would be to not call get_terms() in the same page load.

 WP handles it by always doing a redirect after any edit.

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


More information about the wp-trac mailing list