WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 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:

Description

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 10 years ago.
Patch for trunk

Download all attachments as: .zip

Change History (2)

@markjaquith
10 years ago

Patch for trunk

#1 @ryan
10 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.