[wp-trac] [WordPress Trac] #20832: wp_unique_term_slug() never uses the query excluding the given term_id
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 4 16:11:42 UTC 2012
#20832: wp_unique_term_slug() never uses the query excluding the given term_id
--------------------------+----------------------------
Reporter: duck_ | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: 2.5
Severity: normal | Keywords: has-patch
--------------------------+----------------------------
`$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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20832>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list