[wp-trac] [WordPress Trac] #14399: get_term_children doesn't call clean_term_cache() if necessary

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 23 09:12:16 UTC 2010


#14399: get_term_children doesn't call clean_term_cache() if necessary
--------------------------+-------------------------------------------------
 Reporter:  miradev       |        Owner:                 
     Type:  defect (bug)  |       Status:  reopened       
 Priority:  normal        |    Milestone:  Awaiting Review
Component:  Taxonomy      |      Version:  3.0            
 Severity:  normal        |   Resolution:                 
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------

Comment(by hakre):

 Using a function called "clean" to "build" something looks pretty akward -
 needless to say that from what I read here it might be that the live data
 structure is just called cache here for no apparent reason.

 So please fix in the docs at least.

 And btw, why doesn't the code example work? Looks pretty straight forward
 and valid to me.

 Miradev did you refer to some example code in the docs to create your
 example code? If so, providing more info about that location would be
 helpful as well.

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


More information about the wp-trac mailing list