Skip to content

Commit c589697

Browse files
Add no-store directive to wp-cron caching.
The new GitHub PR UI doesn't include batch commit anymore. Dandy. Co-authored-by: Weston Ruter <[email protected]>
1 parent 93a44da commit c589697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
if ( ! headers_sent() ) {
5050
header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
51-
header( 'Cache-Control: no-cache, must-revalidate, max-age=0' );
51+
header( 'Cache-Control: no-store, no-cache, must-revalidate, max-age=0' );
5252
header( 'X-WP-Cron: Spawned' );
5353
}
5454

0 commit comments

Comments
 (0)