[wp-trac] [WordPress Trac] #18302: Improve child theme file inheritance by introducing `theme_url()` to locate a file URI
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 5 21:54:19 UTC 2012
#18302: Improve child theme file inheritance by introducing `theme_url()` to locate
a file URI
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner: westi
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 3.5
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch westi-likes needs-unit- |
tests |
-------------------------------------------------+-------------------------
Comment (by Otto42):
Replying to [comment:41 georgestephanis]:
> Why would we want to force a child url if the file it's pointing at
doesn't exist?
How do you know it exists until you check?
Perhaps a theme would want to do something different if the child theme
includes a specific file. If you're allowing children to override JS/CSS
code, then this is possible.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18302#comment:43>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list