Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent error notice from wp_guess_url() when core isn't installed #3711

Merged
merged 1 commit into from Jan 5, 2017

Commits on Jan 5, 2017

  1. Prevent error notice from wp_guess_url() when core isn't installed

    WordPress 4.7 attempts to log a user in after installing. Included in
    this was a change to `wp_cookie_constants()` such that it uses
    `wp_guess_url()` to set the default `COOKIEHASH`, instead of an empty
    string. Because CLI doesn't use cookies, we can prevent this notice by
    setting `COOKIEHASH` earlier.
    danielbachhuber committed Jan 5, 2017
    Configuration menu
    Copy the full SHA
    4930b95 View commit details
    Browse the repository at this point in the history