Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#3728 closed defect (bug) (fixed)

get_categories filter not run on cached get_categories() hits

Reported by: markjaquith Owned by: anonymous
Priority: low Milestone: 2.1.1
Component: General Version: 2.1
Severity: normal Keywords:
Cc:

Description (last modified by markjaquith)

get_categories() runs get_categories filter on a cache miss, but not on cache hits.

Change History (5)

  • Description modified (diff)
  • Summary changed from get_category filter not run on cached get_categories() hits to get_categories filter not run on cached get_categories() hits
  • Resolution set to fixed
  • Status changed from new to closed

(In [4848]) run get_categories filter on cached get_categories hits. fixes #3728

(In [4849]) run get_categories filter on cached get_categories hits. fixes #3728

I have this problem where

wp_list_categories('show_count=1&title_li=<h2>Categories</h2>');

Gives "No categories". When caching is enabled. Thinking this was the same issue I applied this patch to 2.1, but no dice.

robert,

Likely a different issue that was fixed for 2.1.1 in [4857]

Note: See TracTickets for help on using tickets.