[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
Fri Aug 5 15:46:25 UTC 2016


#18302: Improve child theme file inheritance by introducing a function to locate a
file URI
----------------------------------------------+--------------------------
 Reporter:  johnbillion                       |       Owner:  johnbillion
     Type:  enhancement                       |      Status:  reviewing
 Priority:  high                              |   Milestone:  4.7
Component:  Themes                            |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  has-patch needs-unit-tests early  |     Focuses:  template
----------------------------------------------+--------------------------

Comment (by JakePT):

 @gma992 I would assume the correct usage in that case would be:
 {{{#!php
 echo theme_file_uri('/js/foo.js');
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18302#comment:90>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list