From c1516b35b56dd579096d9e28cac8da3289a9064e Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@8350 602fd350-edb4-49c9-b593-d223f7449a82 --- 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.