[wp-trac] [WordPress Trac] #18302: Improve child theme file inheritance by introducing a function to locate a file URI
WordPress Trac
noreply at wordpress.org
Wed Aug 31 19:19:32 UTC 2016
#18302: Improve child theme file inheritance by introducing a function to locate a
file URI
---------------------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: accepted
Priority: high | Milestone: 4.7
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch commit has-unit-tests | Focuses: template
---------------------------------------------+--------------------------
Comment (by johnbillion):
Replying to [comment:95 johnjamesjacoby]:
> At the risk of derailing this, these function names would be the first
times in code that `parent` is officially acknowledged, over the existing
template & stylesheet usages.
This also crossed my mind a while ago, but I decided I preferred
`get_parent_theme_file_uri()` over the rather confusing sounding
`get_template_theme_file_uri()`. Also, yeah, at some point we just need to
commit this, lest another five years pass :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18302#comment:96>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list