Skip to content

Commit

Permalink
Add is_favicon to the mainQueryTemplateAllowed conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
nlemoine authored Feb 1, 2022
1 parent cda0c17 commit ba5874c
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 ba5874c

Please sign in to comment.