From 053eb7cee922b1263ecb695e77b4e8eca581ac52 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 16 Jul 2008 16:30:20 +0000 Subject: [PATCH] Restore fields removed in [7645]. Props rm53. fixes #7320 for trunk git-svn-id: http://svn.automattic.com/wordpress/trunk@8350 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/upgrade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 2db6680d7e..fc398ab44e 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -543,6 +543,10 @@ function upgrade_230() { $categories = $wpdb->get_results("SELECT * FROM $wpdb->categories ORDER BY cat_ID"); foreach ($categories as $category) { $term_id = (int) $category->cat_ID; + $name = $category->cat_name; + $description = $category->category_description; + $slug = $category->category_nicename; + $parent = $category->category_parent; $term_group = 0; // Associate terms with the same slug in a term group and make slugs unique.