Ticket #4027: 4027.diff
File 4027.diff, 632 bytes (added by , 15 years ago) |
---|
-
wp-admin/includes/upgrade.php
35 35 */ 36 36 function wp_install($blog_title, $user_name, $user_email, $public, $deprecated='') { 37 37 global $wp_rewrite; 38 global $wp_query; 39 $wpdb->show_errors(); 38 40 39 41 wp_check_mysql_version(); 40 42 wp_cache_flush(); … … 254 256 */ 255 257 function wp_upgrade() { 256 258 global $wp_current_db_version, $wp_db_version; 259 global $wp_query; 260 $wpdb->show_errors(); 257 261 258 262 $wp_current_db_version = __get_option('db_version'); 259 263