[wp-hackers] another cache?
Ryan Boren
ryan at boren.nu
Sun Oct 17 17:19:10 UTC 2004
On Sun, 2004-10-17 at 10:14 +0100, David House wrote:
> Hi all,
> I'm trying to introduce more caching into my code, and I think $cache_categories
> is certainly one variable that I could use more. However, the problem is that
> I'm using the nice URIs, and so I don't have access to the cat_ID
The cat ID should be setup for you even when querying by nicename. In
1.3, use get_query_var('cat') to get at it.
Ryan
More information about the hackers
mailing list