[wp-trac] [WordPress Trac] #43515: Twenty Seventeen: Two different function, which return same result
WordPress Trac
noreply at wordpress.org
Mon Feb 20 07:53:51 UTC 2023
#43515: Twenty Seventeen: Two different function, which return same result
---------------------------+---------------------
Reporter: mukesh27 | Owner: (none)
Type: enhancement | Status: new
Priority: low | Milestone: 6.3
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
---------------------------+---------------------
Changes (by sabernhardt):
* milestone: Awaiting Review => 6.3
Comment:
I think the name `twentyseventeen_is_static_front_page()` is more self-
explanatory, but the other function is much more common and it was created
first.
- [38833] imported the theme from GitHub with
`twentyseventeen_is_frontpage()`.
- [38986] added `twentyseventeen_is_static_front_page()`, still before
version 1.0.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43515#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list