Ticket #4995: 4995.diff
| File 4995.diff, 1.2 KB (added by Nazgul, 5 years ago) |
|---|
-
wp-admin/includes/upgrade.php
195 195 if ( $wp_current_db_version < 5539 ) 196 196 upgrade_230(); 197 197 198 if ( $wp_current_db_version < 6124 ) 199 upgrade_230_old_tables(); 200 198 201 maybe_disable_automattic_widgets(); 199 202 200 203 $wp_rewrite->flush_rules(); … … 693 696 $wpdb->show_errors(); 694 697 } 695 698 699 function upgrade_230_old_tables() { 700 global $wpdb; 701 $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'categories'); 702 $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'link2cat'); 703 $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'post2cat'); 704 } 705 696 706 function upgrade_old_slugs() { 697 707 // upgrade people who were using the Redirect Old Slugs plugin 698 708 global $wpdb; -
wp-includes/version.php
3 3 // This holds the version number in a separate file so we can bump it without cluttering the SVN 4 4 5 5 $wp_version = '2.3-beta3'; 6 $wp_db_version = 6 075;6 $wp_db_version = 6124; 7 7 8 8 ?>
