Make WordPress Core

Opened 7 years ago

Last modified 5 years ago

#38711 new defect (bug)

Invalid Cookie domain for wp-settings-time-*

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

Description

I have set cookie domain

<?php
define( 'COOKIE_DOMAIN', '.example.com' );

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

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

#1 @johnbillion
7 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
7 years ago

I have defined in wp-config.php

<?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.