Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#3586 closed defect (bug) (fixed)

wp_list_categories() incorrectly uses list_cats filter

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

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

Download all attachments as: .zip

Change History (2)

@markjaquith
20 years ago

Patch for trunk

#1 @ryan
20 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.