diff --git wp-admin/includes/upgrade.php wp-admin/includes/upgrade.php
index 531d21f..4f9f338 100644
|
|
|
function upgrade_100() { |
| 433 | 433 | foreach ($categories as $category) { |
| 434 | 434 | if ('' == $category->category_nicename) { |
| 435 | 435 | $newtitle = sanitize_title($category->cat_name); |
| 436 | | $wpdb>update( $wpdb->categories, array('category_nicename' => $newtitle), array('cat_ID' => $category->cat_ID) ); |
| | 436 | $wpdb->update( $wpdb->categories, array('category_nicename' => $newtitle), array('cat_ID' => $category->cat_ID) ); |
| 437 | 437 | } |
| 438 | 438 | } |
| 439 | 439 | |