Skip to content

Commit

Permalink
Updates COOKIEPATH and SITECOOKIEPATH values to / in `applicati…
Browse files Browse the repository at this point in the history
…on.pantheon.php` to resolve cookie-related nonce authentication failures.

For more information, see https://docs.pantheon.io/release-notes/2024/09/wordpress-composer-managed-1-32-3
  • Loading branch information
jazzsequence authored Sep 10, 2024
1 parent 0492bed commit b0e12ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v1.32.3 (2024-09-10)
* Updates `COOKIEPATH` and `SITECOOKIEPATH` values to `/` in `application.pantheon.php` to resolve cookie-related nonce authentication failures. Previously, the values were set to `''` (empty string), which does not allow the cookies to allow authentication within all the paths in a domain. ([#164](https://github.com/pantheon-systems/wordpress-composer-managed/pull/164))

### v1.32.2 (2024-09-03)
* Fixes a bug in the previous update where some WordPress core resources were not available on some single and subdirectory multisite installs. ([161](https://github.com/pantheon-systems/wordpress-composer-managed/pull/161))

Expand Down
4 changes: 2 additions & 2 deletions config/application.pantheon.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@
// Cookie settings.
defined( 'COOKIE_DOMAIN' ) or Config::define( 'COOKIE_DOMAIN', PANTHEON_HOSTNAME );
defined( 'ADMIN_COOKIE_PATH' ) or Config::define( 'ADMIN_COOKIE_PATH', '/' );
defined( 'COOKIEPATH' ) or Config::define( 'COOKIEPATH', '' );
defined( 'SITECOOKIEPATH' ) or Config::define( 'SITECOOKIEPATH', '' );
defined( 'COOKIEPATH' ) or Config::define( 'COOKIEPATH', '/' );
defined( 'SITECOOKIEPATH' ) or Config::define( 'SITECOOKIEPATH', '/' );
}

0 comments on commit b0e12ac

Please sign in to comment.