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

Conversation

danielbachhuber
Copy link
Member

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.

Fixes #3710

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant