[wpmu-trac] Re: [WordPress MU Trac] #557: Object Cache Not Updating
WordPress MU Trac
wpmu-trac at lists.automattic.com
Wed Feb 13 12:39:34 GMT 2008
#557: Object Cache Not Updating
----------------------------------------+-----------------------------------
Reporter: lunabyte | Owner: donncha
Type: defect | Status: assigned
Priority: highest | Milestone: WPMU 1.0
Component: component1 | Version: 1.0
Severity: blocker | Resolution:
Keywords: 1.3.2, 1.3.3, object cache |
----------------------------------------+-----------------------------------
Comment (by lukacu):
I can confirm the problem in MU 1.3.3 when the user edits a page with
attachments. I have tracked my specific problem to `_fix_attachment_links`
in `wp-admin/includes/post.php` where the system gets the page again after
updating the database from the cache but what it gets is the old version.
As i am not some kind of Wordpress guru nor I have time my fix was to add
there two lines to the beginning of `_fix_attachment_links`:
{{{
global $wp_object_cache;
$wp_object_cache->cache = array();
}}}
Ugly, but it worked (i think). I hope that official fix for the overall
problem will be nicer :)
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/557#comment:8>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list