WordPress.org

Make WordPress Core

Ticket #38533: 38533.2.diff

File 38533.2.diff, 863 bytes (added by westonruter, 4 years ago)
  • src/wp-admin/includes/schema.php

    diff --git src/wp-admin/includes/schema.php src/wp-admin/includes/schema.php
    index 59a5574..cd66e19 100644
    function populate_options() { 
    516516        // 4.4.0
    517517        'medium_large_size_w' => 768,
    518518        'medium_large_size_h' => 0,
    519 
    520         // 4.7.0
    521         'fresh_site' => 1,
    522519        );
    523520
    524521        // 3.3
  • src/wp-admin/includes/upgrade.php

    diff --git src/wp-admin/includes/upgrade.php src/wp-admin/includes/upgrade.php
    index 848002e..1d2c0c3 100644
    function wp_install( $blog_title, $user_name, $user_email, $public, $deprecated 
    4949        update_option('blogname', $blog_title);
    5050        update_option('admin_email', $user_email);
    5151        update_option('blog_public', $public);
     52        update_option('fresh_site', 1);
    5253
    5354        if ( $language ) {
    5455                update_option( 'WPLANG', $language );