[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 Aug 22 18:17:38 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 scribu):
The problem is that it's all-or-nothing; if you overwrite a file, you have
to copy all the other code that you're not interested in changing, which
hurts maintenance and back-compat. Parent theme developers would then be
inclined to split their JS code into more files, which hurts performance.
In contrast, if the JS file isn't overwritable, you're inclined to just
enqueue another one on top, which also hurts performance, but not as much.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18302#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list