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
This commit is contained in:
Dave Kiss
2016-12-12 17:24:34 -05:00
committed by GitHub
parent 6a0488a99b
commit 6ca3b3faa7

View File

@@ -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'
]);
/**