Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#11415 closed enhancement (wontfix)

categories get memcached, but tags do not

Reported by: Denis-de-Bernardy Owned by: filosofo
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: Taxonomy Keywords:
Focuses: Cc:


over in wp_query, it seems that:

$reqcat = get_category_by_path($q['category_name']);

gets filled into memcached, because of:

$categories = get_terms( 'category', "get=all&slug=$leaf_path" );

on the tags' end, though, (or other taximonies, I would assume) there is no equivalent.

Change History (2)

#1 @Denis-de-Bernardy
8 years ago

another way to phrase this, in case it's not entirely clear to whoever looks into it... there is a wp_cache_get() call over in get_terms(), which has no equivalent over in:

$reqtag = get_term_by( 'slug', $q['tag_slug__in'][0], 'post_tag' );

We might want to add it?

#2 @Denis-de-Bernardy
8 years ago

  • Milestone 3.0 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

closing this one -- there are far too many tags on some sites.

Note: See TracTickets for help on using tickets.