mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-02 11:21:57 +01:00
Twenty Seventeen: Remove unnecessary comment in front-page.php
.
Props hardik-amipara, poena. Merges [42437] to the 4.9 branch. Fixes #42820. Built from https://develop.svn.wordpress.org/branches/4.9@42438 git-svn-id: http://core.svn.wordpress.org/branches/4.9@42268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
25dea6d03a
commit
089aa052fb
@ -22,7 +22,7 @@ get_header(); ?>
|
|||||||
while ( have_posts() ) : the_post();
|
while ( have_posts() ) : the_post();
|
||||||
get_template_part( 'template-parts/page/content', 'front-page' );
|
get_template_part( 'template-parts/page/content', 'front-page' );
|
||||||
endwhile;
|
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' );
|
get_template_part( 'template-parts/post/content', 'none' );
|
||||||
endif; ?>
|
endif; ?>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user