We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d7d4fa commit 7f871b6Copy full SHA for 7f871b6
includes/Services/StatusService.php
@@ -64,7 +64,7 @@ private static function is_site_created_within_last_9_months(): bool {
64
* @return bool True if the page is a page refresh, false otherwise.
65
*/
66
private static function is_page_refresh(): bool {
67
- if ( isset( $_SERVER['HTTP_CACHE_CONTROL'] ) && $_SERVER['HTTP_CACHE_CONTROL'] == 'max-age=0' ) {
+ if ( isset( $_SERVER['HTTP_CACHE_CONTROL'] ) && 'max-age=0' === $_SERVER['HTTP_CACHE_CONTROL'] ) {
68
return true;
69
}
70
0 commit comments