Skip to content

Commit

Permalink
front_page => frontpage
Browse files Browse the repository at this point in the history
Correct the value based on what WordPress passes as filter values

https://github.com/WordPress/WordPress/blob/4.7-branch/wp-includes/template.php#L29-L41
  • Loading branch information
davekiss authored Dec 12, 2016
1 parent 6a0488a commit 6ca3b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
});
}, [
'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', 'home',
'front_page', 'page', 'paged', 'search', 'single', 'singular', 'attachment'
'frontpage', 'page', 'paged', 'search', 'single', 'singular', 'attachment'
]);

/**
Expand Down

0 comments on commit 6ca3b3f

Please sign in to comment.