From 66b0dfe31b0b27d228b7e8d97547eaec749203ee Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 6 Dec 2015 15:43:49 +0000 Subject: [PATCH] Add initial_db_version to wp_version_check(). fixes #34854. git-svn-id: https://develop.svn.wordpress.org/trunk@35774 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/update.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/wp-includes/update.php b/src/wp-includes/update.php index 1def316be0..b2dd6c6eea 100644 --- a/src/wp-includes/update.php +++ b/src/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(