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:
parent
84c108db02
commit
2d07c3196e
|
@ -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
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue