WordPress.org

Make WordPress Core

Changeset 35774


Ignore:
Timestamp:
12/06/2015 03:43:49 PM (5 years ago)
Author:
nacin
Message:

Add initial_db_version to wp_version_check().

fixes #34854.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/update.php

    r34828 r35774  
    8787
    8888    $query = array(
    89         'version'           => $wp_version,
    90         'php'               => $php_version,
    91         'locale'            => $locale,
    92         'mysql'             => $mysql_version,
    93         'local_package'     => isset( $wp_local_package ) ? $wp_local_package : '',
    94         'blogs'             => $num_blogs,
    95         'users'             => $user_count,
    96         'multisite_enabled' => $multisite_enabled,
     89        'version'            => $wp_version,
     90        'php'                => $php_version,
     91        'locale'             => $locale,
     92        'mysql'              => $mysql_version,
     93        'local_package'      => isset( $wp_local_package ) ? $wp_local_package : '',
     94        'blogs'              => $num_blogs,
     95        'users'              => $user_count,
     96        'multisite_enabled'  => $multisite_enabled,
     97        'initial_db_version' => get_site_option( 'initial_db_version' ),
    9798    );
    9899
Note: See TracChangeset for help on using the changeset viewer.