[wpmu-trac] [WordPress MU Trac] #456:
get_blogs_of_user/get_blog_details fixes for caching problem
WordPress MU Trac
wpmu-trac at lists.automattic.com
Fri Oct 19 00:02:14 GMT 2007
#456: get_blogs_of_user/get_blog_details fixes for caching problem
------------------------+---------------------------------------------------
Reporter: beaulebens | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: component1 | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
In r1104, there appears to be a bug with the caching of blog details,
based on a problem around whether or not you request full details or not.
If you request once, without getting full details, that is cached. If you
then request full details, the "slimmed down" version is returned.
This patch makes sure that a "full details" request is cached before
returning it for that type of request. It also allows you to pass the $all
parameter to get_blogs_of_user() (which is how I found the bug) and have
it get all details (rather than minimum ones).
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/456>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list