WordPress.org

Make WordPress Core

Opened 3 weeks ago

Closed 3 weeks ago

Last modified 3 weeks ago

#43917 closed defect (bug) (fixed)

Set nocache_headers in wp-activate.php

Reported by: herregroen Owned by: SergeyBiryukov
Milestone: 4.9.6 Priority: normal
Severity: normal Version: trunk
Component: Login and Registration Keywords: has-patch
Focuses: multisite Cc:

Description

Related: #43843

Pretty much the same issue. wp-activate.php should never be cached, be it by browsers or on the edge by a CDN, load balancer or whatever.

nocache_headers() should be called at the top of this file.

Attachments (1)

activate_cache_headers.patch (301 bytes) - added by herregroen 3 weeks ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
3 weeks ago

  • Milestone changed from Awaiting Review to 4.9.6

#2 @SergeyBiryukov
3 weeks ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 43065:

Login and Registration: Send nocache_headers() on Multisite account activation pages.

Props herregroen.
Fixes #43917.

#3 @SergeyBiryukov
3 weeks ago

In 43066:

Login and Registration: Send nocache_headers() on Multisite account activation pages.

Props herregroen.
Merges [43065] to the 4.9 branch.
Fixes #43917.

Note: See TracTickets for help on using tickets.