wp_unique_term_slug uses variable that doesn't exist
|Reported by:||lonnylot||Owned by:|
Description (last modified by SergeyBiryukov)
$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 (7)
comment:1 @SergeyBiryukov — 2 years ago
- Milestone changed from Awaiting Review to 3.6
- Version changed from trunk to 2.5
Note: See TracTickets for help on using tickets.