Opened 5 years ago

Closed 4 years ago

Last modified 4 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: anonymous
Priority: normal Milestone:
Component: General Version:
Severity: minor Keywords: reporter-feedback
Cc:

Description

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 5 years ago.
patched function wp_category_checklist

Download all attachments as: .zip

Change History (5)

patched function wp_category_checklist

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

  • Keywords has-patch added
  • Milestone changed from 2.9 to 2.8
  • 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.

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