Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#6808 closed enhancement (fixed)

Add exclude_category argument to wp_list_bookmarks()

Reported by: ionfish's profile ionfish Owned by:
Milestone: 2.6 Priority: normal
Severity: minor Version: 2.5
Component: Template Keywords: has-patch
Focuses: Cc:


wp_list_bookmarks() does not allow the exclusion of particular categories, despite the fact that get_terms() (which it uses to pull in categories) does. Attached is a patch that enables the exclusion of categories from the list generated by wp_list_bookmarks().

Attachments (2)

exclude_category.diff (750 bytes) - added by ionfish 16 years ago.
exclude_category-2.diff (1.2 KB) - added by ionfish 16 years ago.
Add exclude_category to defaults

Download all attachments as: .zip

Change History (5)

#1 @ryan
16 years ago

exclude_category needs to be in defaults.

16 years ago

Add exclude_category to defaults

#2 @ionfish
16 years ago

New patch reflects changes in wp_list_bookmarks() and adds exclude_category to defaults.

#3 @ryan
16 years ago

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

(In [8183]) Add exclude_category argument to wp_list_bookmarks(). Props ionfish. fixes #6808

Note: See TracTickets for help on using tickets.