WordPress.org

Make WordPress Core

Opened 12 months ago

Last modified 11 months ago

#24216 closed defect (bug)

wp_unique_term_slug uses variable that doesn't exist — at Initial Version

Reported by: lonnylot Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5
Component: Taxonomy Keywords: has-patch
Focuses: Cc:

Description

http://core.trac.wordpress.org/browser/trunk/wp-includes/taxonomy.php#L2380

$args\['term_id'\] doesn't exist. It should be $term->term_id.

This means that even though the DB schema allows for different taxonomies to have the same slug the code will never allow it.

Change History (0)

Note: See TracTickets for help on using tickets.