mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 12:01:40 +00:00
Allow Terms to exist within multiple taxonomies (Regression in 3.0); If a term slug is provided on the form, Respect it (do not suffix it, instead, feedback with error); Do not allow hierarchical term names to exist multiple times within a set level (ie. AU/NSW + AU/NSW is bad, AU/NSW + AU/VIC + AU/VIC/NSW is ok). See #13060
git-svn-id: https://develop.svn.wordpress.org/trunk@14229 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -572,9 +572,8 @@ case 'add-tag' : // From Manage->Tags
|
||||
$tag_full_name = $_tag->name . ' — ' . $tag_full_name;
|
||||
$level++;
|
||||
}
|
||||
}
|
||||
if ( is_taxonomy_hierarchical($taxonomy) )
|
||||
$noparents = _tag_row( $tag, $level, $taxonomy );
|
||||
}
|
||||
$tag->name = $tag_full_name;
|
||||
$parents = _tag_row( $tag, 0, $taxonomy);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user