Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838

git-svn-id: http://svn.automattic.com/wordpress/trunk@12818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32
2010-01-24 11:00:27 +00:00
parent 7f91337a3b
commit 34cc6ab57e
10 changed files with 155 additions and 54 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ function wp_create_categories($categories, $post_id = '') {
$cat_ids[] = $id;
}
if ($post_id)
if ( $post_id )
wp_set_post_categories($post_id, $cat_ids);
return $cat_ids;