Skip to content

Commit

Permalink
Merge pull request #25 from nlemoine/master
Browse files Browse the repository at this point in the history
Add `is_favicon` to the `mainQueryTemplateAllowed` conditions
  • Loading branch information
gmazzap authored Feb 2, 2022
2 parents cda0c17 + ba5874c commit fc93082
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/QueryTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public static function mainQueryTemplateAllowed()
|| !apply_filters('exit_on_http_head', true)
)
&& !is_robots()
&& !is_favicon()
&& !is_feed()
&& !is_trackback()
&& !is_embed();
Expand Down

0 comments on commit fc93082

Please sign in to comment.