The current check using ! $wp_query->is_404() is too limited, as it doesn't account for other valid non-200 statuses like 403. Since the 403 header is correctly set earlier when access is denied, it...
View Questionlisa845jyorg
17 Reputation
The current check using ! $wp_query->is_404() is too limited, as it doesn't account for other valid non-200 statuses like 403. Since the 403 header is correctly set earlier when access is denied, it...
View Question