Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#46054 closed defect (bug) (fixed)

wp_die handlers should return no-cache headers.

Reported by: spacedmonkey's profile spacedmonkey Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.2 Priority: normal
Severity: normal Version: 5.1
Component: Site Health Keywords: has-patch servehappy
Focuses: Cc:

Description

All wp_die handlers should return no cache headers to make sure that no error state is cached.

Attachments (1)

46054.diff (1.2 KB) - added by spacedmonkey 6 years ago.

Download all attachments as: .zip

Change History (10)

@spacedmonkey
6 years ago

#2 @pento
6 years ago

  • Milestone changed from Awaiting Review to 5.1

Moving to 5.1 for review.

This ticket was mentioned in Slack in #core-php by spacedmonkey. View the logs.


6 years ago

This ticket was mentioned in Slack in #core-php by spacedmonkey. View the logs.


6 years ago

#5 @flixos90
6 years ago

  • Milestone changed from 5.1 to 5.2

#6 @flixos90
6 years ago

  • Priority changed from high to normal

This ticket was mentioned in Slack in #core-php by spacedmonkey. View the logs.


6 years ago

#8 @SergeyBiryukov
6 years ago

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

In 44828:

Bootstrap/Load: Add nocache_headers() to all wp_die() handlers.

Props spacedmonkey.
Fixes #46054.

#9 @spacedmonkey
5 years ago

  • Component changed from Bootstrap/Load to Site Health
Note: See TracTickets for help on using tickets.