Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#3586 closed defect (bug) (fixed)

wp_list_categories() incorrectly uses list_cats filter

Reported by: markjaquith Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords:
Focuses: Cc:


The list_cats filter is for filtering the text of individual categories, not for filtering the output of wp_list_categories(). Having one filter do double duty is really confusing.

Suggest wp_list_categories filter for filtering wp_list_categories() output.

Attachments (1)

wp_list_categories.diff (411 bytes) - added by markjaquith 11 years ago.
Patch for trunk

Download all attachments as: .zip

Change History (2)

11 years ago

Patch for trunk

#1 @ryan
11 years ago

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

(In [4755]) Add wp_list_categories filter. Props Mark Jaquith. fixes #3586

Note: See TracTickets for help on using tickets.