Make WordPress Core

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#14663 closed defect (bug) (fixed)

It is possible to select a Term's descendent as its parent

Reported by: mdawaffe's profile mdawaffe Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0.1
Component: General Keywords: has-patch
Focuses: Cc:

Description

When editing a hierarchical term, the dropdown selector for the term's parent has options for each of the term's descendants making it easy to create loops in the term hierarchy.

Attached uses the exclude_tree argument in wp_dropdown_category().

Attached depends on #14446.

Setting milestone to 3.0.2. If a user creates a category loop (for example), those categories in the loop disappear from view at wp-admin/edit-tags.php?taxonomy=category.

This is a frontend/web interface change. #14662 is a more comprehensive backend/API change.

Attachments (1)

14663.diff (1.2 KB) - added by mdawaffe 15 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
15 years ago

#1 @ryan
14 years ago

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

(In [15798]) Don't show a term's descendants in the parent selector. Props mdawaffe. fixes #14663

#2 @nacin
14 years ago

  • Milestone changed from 3.0.2 to 3.1
Note: See TracTickets for help on using tickets.