WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#3728 closed defect (bug) (fixed)

get_categories filter not run on cached get_categories() hits

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

Description (last modified by markjaquith)

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

Change History (5)

#1 @markjaquith
13 years ago

  • 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

#2 @markjaquith
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

#3 @markjaquith
13 years ago

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

#4 @robertaccettura
13 years ago

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.

#5 @markjaquith
13 years ago

robert,

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

Note: See TracTickets for help on using tickets.