[wp-trac] [WordPress Trac] #24216: wp_unique_term_slug uses variable that doesn't exist

WordPress Trac noreply at wordpress.org
Sun Apr 28 22:44:14 UTC 2013


#24216: wp_unique_term_slug uses variable that doesn't exist
--------------------------+-----------------------------
 Reporter:  lonnylot      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  trunk
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24216>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list