From 6ca3b3faa7e3ec29d01016fdc7bd656ff0e8a64e Mon Sep 17 00:00:00 2001 From: Dave Kiss Date: Mon, 12 Dec 2016 17:24:34 -0500 Subject: [PATCH] front_page => frontpage 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 --- src/filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filters.php b/src/filters.php index c4c6aff..187400b 100644 --- a/src/filters.php +++ b/src/filters.php @@ -40,7 +40,7 @@ array_map(function ($type) { }); }, [ 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', 'home', - 'front_page', 'page', 'paged', 'search', 'single', 'singular', 'attachment' + 'frontpage', 'page', 'paged', 'search', 'single', 'singular', 'attachment' ]); /**