Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#43917 closed defect (bug) (fixed)

Set nocache_headers in wp-activate.php

Reported by: herregroen's profile herregroen Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.9.6 Priority: normal
Severity: normal Version: 5.1
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 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 4.9.6

#2 @SergeyBiryukov
5 years 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
5 years 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.