Make WordPress Core

Changeset 39076


Ignore:
Timestamp:
11/01/2016 08:15:08 PM (7 years ago)
Author:
helen
Message:

Only set fresh_site during an actual fresh install.

props westonruter.
fixes #38533.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

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

    r38991 r39076  
    517517    'medium_large_size_w' => 768,
    518518    'medium_large_size_h' => 0,
    519 
    520     // 4.7.0
    521     'fresh_site' => 1,
    522519    );
    523520
  • trunk/src/wp-admin/includes/upgrade.php

    r38919 r39076  
    5050    update_option('admin_email', $user_email);
    5151    update_option('blog_public', $public);
     52
     53    // Freshness of site - in the future, this could get more specific about actions taken, perhaps.
     54    update_option( 'fresh_site', 1 );
    5255
    5356    if ( $language ) {
Note: See TracChangeset for help on using the changeset viewer.