Only set fresh_site during an actual fresh install.

props westonruter.
fixes #38533.


git-svn-id: https://develop.svn.wordpress.org/trunk@39076 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2016-11-01 20:15:08 +00:00
parent 0f00396bb6
commit bbfed835a3
2 changed files with 3 additions and 3 deletions

View File

@ -516,9 +516,6 @@ function populate_options() {
// 4.4.0
'medium_large_size_w' => 768,
'medium_large_size_h' => 0,
// 4.7.0
'fresh_site' => 1,
);
// 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('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 ) {
update_option( 'WPLANG', $language );
}