From 0cf9d8b9228df417c9b9726938844dc8c863a3e9 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 6 Dec 2015 15:44:27 +0000 Subject: [PATCH] Add initial_db_version to wp_version_check(). fixes #34854. Built from https://develop.svn.wordpress.org/trunk@35774 git-svn-id: http://core.svn.wordpress.org/trunk@35738 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/update.php | 17 +++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/wp-includes/update.php b/wp-includes/update.php index 1def316be0..b2dd6c6eea 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -86,14 +86,15 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) { } $query = array( - 'version' => $wp_version, - 'php' => $php_version, - 'locale' => $locale, - 'mysql' => $mysql_version, - 'local_package' => isset( $wp_local_package ) ? $wp_local_package : '', - 'blogs' => $num_blogs, - 'users' => $user_count, - 'multisite_enabled' => $multisite_enabled, + 'version' => $wp_version, + 'php' => $php_version, + 'locale' => $locale, + 'mysql' => $mysql_version, + 'local_package' => isset( $wp_local_package ) ? $wp_local_package : '', + 'blogs' => $num_blogs, + 'users' => $user_count, + 'multisite_enabled' => $multisite_enabled, + 'initial_db_version' => get_site_option( 'initial_db_version' ), ); $post_body = array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 28e25124cb..51a82a07b0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-RC1-35773'; +$wp_version = '4.4-RC1-35774'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.