WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/18/2016 11:41:53 AM (3 years ago)
Author:
johnbillion
Message:

Upgrade/Install: Automatically log users in after installation.

This change means that after entering their site's settings upon installation, users are immediately logged in and redirected to the admin dashboard, instead of being presented with the 'Success!' screen and then being asked to log in. This reduces friction and reduces the number of steps for installation.

Fixes #34084

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-constants.php

    r38015 r38619  
    206206            define( 'COOKIEHASH', md5( $siteurl ) );
    207207        else
    208             define( 'COOKIEHASH', '' );
     208            define( 'COOKIEHASH', md5( wp_guess_url() ) );
    209209    }
    210210
Note: See TracChangeset for help on using the changeset viewer.