Only set `fresh_site` during an actual fresh install.

props westonruter.
fixes #38533.

Built from https://develop.svn.wordpress.org/trunk@39076


git-svn-id: http://core.svn.wordpress.org/trunk@39018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2016-11-01 20:16:31 +00:00
parent 84c108db02
commit 2d07c3196e
3 changed files with 4 additions and 4 deletions

View File

@ -516,9 +516,6 @@ function populate_options() {
// 4.4.0 // 4.4.0
'medium_large_size_w' => 768, 'medium_large_size_w' => 768,
'medium_large_size_h' => 0, 'medium_large_size_h' => 0,
// 4.7.0
'fresh_site' => 1,
); );
// 3.3 // 3.3

View File

@ -50,6 +50,9 @@ function wp_install( $blog_title, $user_name, $user_email, $public, $deprecated
update_option('admin_email', $user_email); update_option('admin_email', $user_email);
update_option('blog_public', $public); update_option('blog_public', $public);
// Freshness of site - in the future, this could get more specific about actions taken, perhaps.
update_option( 'fresh_site', 1 );
if ( $language ) { if ( $language ) {
update_option( 'WPLANG', $language ); update_option( 'WPLANG', $language );
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-beta1-39075'; $wp_version = '4.7-beta1-39076';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.