Make WordPress Core

Opened 5 years ago

Last modified 3 years ago

#38711 new defect (bug)

Invalid Cookie domain for wp-settings-time-*

Reported by: sebastian.pisula Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch needs-testing reporter-feedback
Focuses: administration Cc:


I have set cookie domain

define( 'COOKIE_DOMAIN', '.example.com' );

but wp-settings-time-* have invalid cookie domain.

Attachments (1)

38711.patch (1012 bytes) - added by sebastian.pisula 5 years ago.

Download all attachments as: .zip

Change History (3)

#1 @johnbillion
5 years ago

  • Component changed from General to Users
  • Focuses administration added
  • Keywords has-patch needs-testing reporter-feedback added

Thanks for the patch.

What does the cookie domain get set to without this patch?

#2 @sebastian.pisula
5 years ago

I have defined in wp-config.php

define( 'COOKIE_DOMAIN', '.example.com' );

my address: http://crm.example.com

Cookie domain should be .example.com but is crm.example.com

This patch fix this.

Note: See TracTickets for help on using tickets.