Make WordPress Core

Opened 18 years ago

Closed 17 years ago

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

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

Download all attachments as: .zip

Change History (5)

@youngmicroserf
18 years ago

patched function wp_category_checklist

#1 @ionfish
18 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.

#2 @FFEMTcJ
18 years ago

  • Keywords has-patch added
  • Milestone 2.9 → 2.8

#3 @Denis-de-Bernardy
17 years ago

  • Keywords reporter-feedback added; has-patch removed
  • Resolution → invalid
  • Status new → closed

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

#4 @Denis-de-Bernardy
17 years ago

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