Make WordPress Core

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#7115 closed enhancement (invalid)

wp_category_checklist should have option to exclude the parent category from the generated tree

Reported by: youngmicroserf Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: General Keywords: reporter-feedback
Focuses: Cc:


In WP 2.5.1 there is an option to only generate a part of the category tree by adding a value for the variable "descendants_and_self" but there currently there seems to be no way to limit the category tree to the child categories of the parent category without displaying it as well.

I suggest an additional option for the function wp_category_checklist that allows this. I have attached a fix I've applied in a WP installation.

Attachments (1)

wp_category_checklist.txt (1023 bytes) - added by youngmicroserf 10 years ago.
patched function wp_category_checklist

Download all attachments as: .zip

Change History (5)

10 years ago

patched function wp_category_checklist

#1 @ionfish
10 years ago

Your patch will stand a better chance if you provide it in the right format; see Patching Bugs on the Codex for details.

9 years ago

  • Keywords has-patch added
  • Milestone changed from 2.9 to 2.8

#3 @Denis-de-Bernardy
9 years ago

  • Keywords reporter-feedback added; has-patch removed
  • Resolution set to invalid
  • Status changed from new to closed

please re-open with a new (and real) patch if this is still current.

#4 @Denis-de-Bernardy
9 years ago

  • Milestone 2.8 deleted
Note: See TracTickets for help on using tickets.