mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Check both slug and name when determining if is_term(). fixes #6593 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8433 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -19,7 +19,8 @@ $wp_queries="CREATE TABLE $wpdb->terms (
|
||||
slug varchar(200) NOT NULL default '',
|
||||
term_group bigint(10) NOT NULL default 0,
|
||||
PRIMARY KEY (term_id),
|
||||
UNIQUE KEY slug (slug)
|
||||
UNIQUE KEY slug (slug),
|
||||
KEY name (name)
|
||||
) $charset_collate;
|
||||
CREATE TABLE $wpdb->term_taxonomy (
|
||||
term_taxonomy_id bigint(20) NOT NULL auto_increment,
|
||||
|
||||
Reference in New Issue
Block a user