[wp-trac] [WordPress Trac] #11530: logic errors in clean_term_cache()
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 21 09:55:25 UTC 2009
#11530: logic errors in clean_term_cache()
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: westi
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 2.9.1
Component: Taxonomy | Version: 2.9
Severity: normal | Keywords: has-patch
-------------------------------+--------------------------------------------
Comment(by dd32):
Can you also explain which part is the Complelely random section? I'm
guessing its the Action args?
Also, What was the point of this over the original, It doesnt add anything
extra..
{{{
$taxonomies = array($taxonomy);
foreach ( $taxonomies as $taxonomy ) {
foreach ( $ids as $id ) {
wp_cache_delete($id, $taxonomy);
}
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11530#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list