WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#14663 closed defect (bug) (fixed)

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

Reported by: 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 4 years ago.

Download all attachments as: .zip

Change History (3)

mdawaffe4 years ago

comment:1 ryan4 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

comment:2 nacin3 years ago

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