Opened 13 years ago
Closed 13 years ago
#20832 closed defect (bug) (duplicate)
wp_unique_term_slug() never uses the query excluding the given term_id
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | Cc: |
Description
$args
is an undefined variable so the not-empty check always fails. See [6326].
We should either change this to $term->term_id
or remove it completely as it has never been used. The former will require a bit more investigation to ensure that its addition now has no unintended consequences.
Attachments (2)
Change History (3)
Note: See
TracTickets for help on using
tickets.
#12729