Fix "wp_db_current_db_version" typo. see #18693

git-svn-id: http://svn.automattic.com/wordpress/trunk@19411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2011-11-22 22:05:42 +00:00
parent a1fb35ca98
commit 279615ea59
1 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ $wp_queries = wp_get_db_schema( 'all' );
* @uses $wp_db_version
*/
function populate_options() {
global $wpdb, $wp_db_version, $current_site, $wp_db_current_db_version;
global $wpdb, $wp_db_version, $current_site, $wp_current_db_version;
$guessurl = wp_guess_url();
@ -482,7 +482,7 @@ function populate_options() {
// 3.3
if ( ! is_multisite() ) {
$options['initial_db_version'] = ! empty( $wp_db_current_db_version ) && $wp_current_db_version < $wp_db_version
$options['initial_db_version'] = ! empty( $wp_current_db_version ) && $wp_current_db_version < $wp_db_version
? $wp_current_db_version : $wp_db_version;
}