From a8d74c4f4e9a796f4a968113df068660eb01a550 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 12 Jan 2018 20:00:14 +0000 Subject: [PATCH] Twenty Seventeen: Remove unnecessary comment in `front-page.php`. Props hardik-amipara, poena. Fixes #42820. git-svn-id: https://develop.svn.wordpress.org/trunk@42437 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/front-page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyseventeen/front-page.php b/src/wp-content/themes/twentyseventeen/front-page.php index c5d7f15509..460c942ac9 100644 --- a/src/wp-content/themes/twentyseventeen/front-page.php +++ b/src/wp-content/themes/twentyseventeen/front-page.php @@ -24,7 +24,7 @@ get_header(); ?> the_post(); get_template_part( 'template-parts/page/content', 'front-page' ); endwhile; - else : // I'm not sure it's possible to have no posts when this page is shown, but WTH. + else : get_template_part( 'template-parts/post/content', 'none' ); endif; ?>