Skip to content

Commit

Permalink
Merge pull request #23 from Daronspence/patch-1
Browse files Browse the repository at this point in the history
Remove lines modifying undefined object
  • Loading branch information
jarednova authored May 18, 2020
2 parents ffae8d3 + bd31c53 commit 07057a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ public static function load($template, $tparams = false, $query = false, $status
add_action('template_redirect', function(){
global $wp_query;
$wp_query->is_404 = false;
$query->is_attachment = false;
$query->is_page = true;
},1);
}
}
Expand Down

0 comments on commit 07057a8

Please sign in to comment.