WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#8521 closed defect (bug) (duplicate)

wp_category_checklist() function generates damaged category tree

Reported by: codestyling Owned by:
Milestone: Priority: high
Severity: major Version: 2.5.1
Component: General Keywords: posts category broken
Focuses: Cc:

Description

While writing/editing posts the GUI shows all categories available using a tree view inside a special box.
But this view gets logical damaged, if the post has already assigned categories. Some child categories not been used will not longer be shown related to it's parent but at the end of tree in linear order.

I described and illustrated it with serveral images here: http://www.code-styling.de/english/wordpress-category-tree-chaos-at-write-posts
My quick solution was commenting the pre-filter loop to get a correct tree view. May be a more sophisticated solution will be needed.

Change History (1)

comment:1 ryan5 years ago

  • Milestone 2.7 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See #7000

Note: See TracTickets for help on using tickets.