Ticket #14663 (closed defect (bug): fixed)

Opened 21 months ago

Last modified 18 months ago

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

Reported by: mdawaffe Owned by:
Priority: normal Milestone: 3.1
Component: General Version: 3.0.1
Severity: normal Keywords: has-patch
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

14663.diff Download (1.2 KB) - added by mdawaffe 21 months ago.

Change History

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

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

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