WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/24/2008 07:28:40 PM (12 years ago)
Author:
ryan
Message:

Check both slug and name when determining if is_term(). fixes #6593 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r8202 r8433  
    2020 term_group bigint(10) NOT NULL default 0,
    2121 PRIMARY KEY  (term_id),
    22  UNIQUE KEY slug (slug)
     22 UNIQUE KEY slug (slug),
     23 KEY name (name)
    2324) $charset_collate;
    2425CREATE TABLE $wpdb->term_taxonomy (
Note: See TracChangeset for help on using the changeset viewer.