[wp-trac] [WordPress Trac] #14669: get_categories returns only after page reload all cats
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 19 11:08:01 UTC 2010
#14669: get_categories returns only after page reload all cats
-----------------------------+----------------------------------------------
Reporter: christian_gnoth | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache | Version: 3.0.1
Severity: major | Keywords:
-----------------------------+----------------------------------------------
Changes (by dd32):
* component: General => Cache
Comment:
This condition is only hit if 2 conditions are met:
* The category list has been queried in the pageload already
* The get_categories() call is made within 1 second of the category being
created. (ie. time(creation) == time(2ndquery))
This is not unique to Categories, It applies to all terms.
The cause is related to the 'last_changed' cache key used in the Taxonomy
API it appears to me.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14669#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list