[wp-hackers] Nasty get_option()/get_settings() bug

David House dmhouse at gmail.com
Wed Jan 11 13:56:51 GMT 2006


On 11/01/06, Mark Jaquith <mark.wordpress at txfx.net> wrote:
> So what we need to do is come up with a way to discriminate between
> "option isn't in cache" (and therefore, make the query) and "option's
> non-existence has been cached" (and therefore don't make the query,
> because we know it doesn't exist).

The way it used to be done is have a seperate cache,
$cache_nonexistantoptions or something, that stored the names of
options that don't exist. This was checked before querying the DB. Is
this not done now?

--
-David House, dmhouse at gmail.com, http://xmouse.ithium.net


More information about the wp-hackers mailing list