WordPress 2.6 upgrade problem with category names

when upgrading an older WP blog to 2.6 all category names vanished.
I checked the database, and yes, they are completely gone.

I think the problem is in the first half of function upgrade_230() in file /wp-admin/includes/upgrade.php.
There the variables $name and $slug are used, but not set. So empty values are written.

In the second half of that same function, the code is repeated for link categories. There both vars are first set and then read like it should be, IMHO.
I posted this as WordPress Trac #7320 bug.
[Update] The bug is already fixed in the WordPress source code repository. Hence before upgrading my other blogs I will wait for the next maintenance release…

Leave a Reply

You must be logged in to post a comment.