[wp-trac] [WordPress Trac] #18302: Improve child theme file inheritance by introducing a function to locate a file URI
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 7 21:51:44 UTC 2011
#18302: Improve child theme file inheritance by introducing a function to locate a
file URI
------------------------------------------------+--------------------------
Reporter: johnbillion | Owner: westi
Type: enhancement | Status: reviewing
Priority: normal | Milestone: Awaiting
Component: Template | Review
Severity: normal | Version:
Keywords: has-patch dev-feedback westi-likes | Resolution:
------------------------------------------------+--------------------------
Comment (by johnbillion):
Patch refreshed. Ignore 18302.2.patch as it accidentally contains other
unrelated changes.
[attachment:ticket:18302:18302.2.2.patch 18302.2.2.patch] changes the
function name to `locate_template_uri()` and uses
`get_template|stylesheet_directory()` instead of the constants.
I'm still wondering whether a nicer named template function could be a
good idea. `locate_template_uri()` is rather a technical name and
something like `get_theme_file()` would be nicer for theme developers to
use. Suggestions?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18302#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list