Opened 3 years ago

Last modified 6 months ago

#12729 new defect (bug)

Fix [6326] - wp_unique_term_slug() when changing the parent

Reported by: nacin Owned by: ryan
Priority: normal Milestone: Future Release
Component: Taxonomy Version:
Severity: normal Keywords: dev-feedback
Cc: stephenh1988, Otto42

Description

[6326] uses $args (as an array) when it appears it should use $term (an object).

It's never worked, so I'm hesitant to patch it as I imagine it might break something elsewhere in the taxonomy API.

Assigning to ryan for now, who authored the commit.

Change History (6)

dd32 and I were discussing this the other day.

I think there might already be a ticket for it.

let me search.

  • Milestone changed from Unassigned to 3.0

Yeah, dd32 and I discussed this as well, and he mentioned he had discussed it with you. I couldn't find another ticket and so I said I would create one.

  • Milestone changed from 3.0 to 3.1
  • Keywords dev-feedback added
  • Milestone changed from Awaiting Triage to Future Release
  • Cc stephenh1988 added

If fixed, it will simply return the slug if it is already the slug for the term. Would that not be expected behavior?

  • Cc Otto42 added
Note: See TracTickets for help on using tickets.