From b2737aa83a4ffa95d06ec3cc3bbc3a9f72ef5681 Mon Sep 17 00:00:00 2001 From: EarthlingDavey <15802017+EarthlingDavey@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:14:22 +0000 Subject: [PATCH] Update application.php --- config/application.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/application.php b/config/application.php index deed257c7..e16652905 100644 --- a/config/application.php +++ b/config/application.php @@ -84,6 +84,10 @@ Config::define('WP_HOME', env('WP_HOME')); Config::define('WP_SITEURL', env('WP_SITEURL')); Config::define('LOOPBACK_URL', env('LOOPBACK_URL') ?? 'http://127.0.0.1:8080'); +// Explicitly set cookie paths, to prevent conflicting wordpress_logged_in... wordpress_sec_... cookies. +Config::define('COOKIEPATH', '/'); +Config::define('SITECOOKIEPATH', '/'); +Config::define('ADMIN_COOKIE_PATH', '/'); /** * Custom Content Directory