Skip to content

Instantly share code, notes, and snippets.

@danielbachhuber
Last active August 31, 2020 16:45
Show Gist options
  • Save danielbachhuber/a4441219abdf2538d150f57bfdbd2e29 to your computer and use it in GitHub Desktop.
Save danielbachhuber/a4441219abdf2538d150f57bfdbd2e29 to your computer and use it in GitHub Desktop.
Correct the cookie domain when a custom domain is mapped to the site.
@berteh
Copy link

berteh commented Apr 24, 2017

thanks for the suggestions. Where should this piece of code go? ...my custom themes's function.php seems a late load to be active at the admin login screen :/

@wp-networks
Copy link

wp-networks commented Apr 26, 2018

thanks for this, very handy ;)
code should likely go in as a mu-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment