[wp-trac] Re: [WordPress Trac] #8146: Quick tag/category edit appears to be using filtered data

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 17 20:20:24 GMT 2008


#8146: Quick tag/category edit appears to be using filtered data
----------------------------------------------------+-----------------------
 Reporter:  jhodgdon                                |        Owner:  anonymous
     Type:  defect                                  |       Status:  reopened 
 Priority:  normal                                  |    Milestone:  2.7      
Component:  Administration                          |      Version:  2.7      
 Severity:  normal                                  |   Resolution:           
 Keywords:  tag, category, edit, filter, has-patch  |  
----------------------------------------------------+-----------------------
Comment (by jhodgdon):

 This patch needs some modification.

 Although you are being careful not to cache incoming data that has been
 filtered, I am pretty sure wp_cache_add is storing a *reference* to the
 term object. Then later down in get_term it is applying filters to the
 same term object. So the next call will retrieve filtered data from the
 cache.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8146#comment:27>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list