[wp-hackers] $cache_categories

Austin Matzko if.website at gmail.com
Tue Jan 3 23:53:11 GMT 2006


On 1/3/06, Ryan Boren <ryan at boren.nu> wrote:
> Plus, these are the sort of things that make plugins so
> fragile to core changes.  If we need to add API, let's add API instead
> of digging in the guts of WP.

The codex has sample code using $cache_categories, so how would one
know not to use it? http://codex.wordpress.org/Category_Templates

> What method was being used in 1.5 that is no longer working?  Can you
> not use get_queried_object_id() or get_query_var('cat')?

I need an array of the categories.  The hierarchy, ids, etc. that
$cache_categories provided was nice, too. I'd be happy to use a better
method.


More information about the wp-hackers mailing list