[wp-hackers] Options and caching

Andy Staines andy at yellowswordfish.com
Wed Jan 30 11:17:48 GMT 2008


There was a bug (#4429) back in 2.2 that may have been the problem.  
Fixed in one of the later updates.
Maybe your users with the problem are using the older version?
Andy

On 30 Jan 2008, at 11:01AM, James Davis wrote:

> Ozh wrote:
>
>> Then, what about the following:
>> if (!get_option('myoption')) {
>>        update_option('myoption', 'default');
>>        wp_cache_flush();
>> }
>
> Thanks I'll try this. It probably doesn't help that I've developing  
> with the cache turned off, although I wasn't able to replicate the  
> problem on a test install outside my development environment. Enough  
> users have contacted me to convince me there's a real problem though  
> =)
>
> James
>
> -- 
> http://www.freecharity.org.uk/ - Free IT services for charities
> http://www.freecharity.org.uk/wiki/ - The VCSWiki
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list