Ticket #7627: 7627.patch
File 7627.patch, 981 bytes (added by , 16 years ago) |
---|
-
includes/upgrade.php
141 141 if ( $wp_db_version == $wp_current_db_version ) 142 142 return; 143 143 144 if(!is_blog_installed()) 145 return; 146 144 147 wp_check_mysql_version(); 145 148 wp_cache_flush(); 146 149 make_db_current_silent(); -
upgrade.php
45 45 <body> 46 46 <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1> 47 47 48 <?php if ( get_option('db_version') == $wp_db_version ) : ?>48 <?php if ( get_option('db_version') == $wp_db_version || !is_blog_installed()) : ?> 49 49 50 50 <h2><?php _e('No Upgrade Required'); ?></h2> 51 51 <p><?php _e('Your WordPress database is already up-to-date!'); ?></p> … … 92 92 endif; 93 93 ?> 94 94 </body> 95 </html> 96 No newline at end of file 95 </html>