[wp-trac] [WordPress Trac] #43515: Twenty Seventeen: Two different function, which return same result
WordPress Trac
noreply at wordpress.org
Mon Mar 12 04:52:20 UTC 2018
#43515: Twenty Seventeen: Two different function, which return same result
------------------------------------+------------------------------
Reporter: mukesh27 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Changes (by mukesh27):
* keywords: has-patch => has-patch dev-feedback
Comment:
@soulseekah above both link are not working.
My question is below both the functions return same result then wy should
we use two different function?
**twentyseventeen_is_static_front_page function**
{{{#!php
<?php
function twentyseventeen_is_static_front_page() {
return ( is_front_page() && ! is_home() );
}
}}}
**twentyseventeen_is_frontpage function**
{{{#!php
<?php
function twentyseventeen_is_frontpage() {
return ( is_front_page() && ! is_home() );
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43515#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list