[wp-trac] [WordPress Trac] #34842: Simplify get_home_template() template candidates (was: Update get_home_template)
WordPress Trac
noreply at wordpress.org
Thu Dec 3 19:39:41 UTC 2015
#34842: Simplify get_home_template() template candidates
-------------------------+------------------------------
Reporter: Rahe | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: template
-------------------------+------------------------------
Changes (by swissspidy):
* type: feature request => enhancement
Comment:
Apart from saving some if/else checks in `template-loader.php`, I don't
see a reason why `get_home_template()` ''must'' specify `index.php` as a
template as well. I guess it makes the whole template hierarchy more
clear.
See also #14310
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34842#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list