Twenty Seventeen: Use consistent wording when referring to the front page in inline docs.
Props chetan200891. Fixes #42666. git-svn-id: https://develop.svn.wordpress.org/trunk@42347 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
81a48c2924
commit
712739ee4f
@ -18,7 +18,7 @@ get_header(); ?>
|
|||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Show the selected frontpage content.
|
// Show the selected front page content.
|
||||||
if ( have_posts() ) :
|
if ( have_posts() ) :
|
||||||
while ( have_posts() ) :
|
while ( have_posts() ) :
|
||||||
the_post();
|
the_post();
|
||||||
|
@ -95,7 +95,7 @@ function twentyseventeen_panel_count() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks to see if we're on the homepage or not.
|
* Checks to see if we're on the front page or not.
|
||||||
*/
|
*/
|
||||||
function twentyseventeen_is_frontpage() {
|
function twentyseventeen_is_frontpage() {
|
||||||
return ( is_front_page() && ! is_home() );
|
return ( is_front_page() && ! is_home() );
|
||||||
|
Loading…
Reference in New Issue
Block a user