[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
Tue Jul 3 02:51:17 UTC 2012


#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:  Future Release
Component:  Template               |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch westi-likes  |
-----------------------------------+-----------------------------

Comment (by georgestephanis):

 Rewrote patch as new function theme_url() in 18302.theme_url.diff and
 migrated to wp-includes/link-template.php to be with its family.

 Related: #19267

 theme_url( 'images/logo.gif' ); is going to be a lot easier for people to
 remember than locate_theme_file( 'images/logo.gif' );

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18302#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list