[wp-trac] [WordPress Trac] #21336: child theme get_bloginfo('template_url') return wron url

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 21 16:03:19 UTC 2012


#21336: child theme get_bloginfo('template_url') return wron url
--------------------------+-----------------------------
 Reporter:  eggproject    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.4.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hello...
 i little speak english... :(

 I use wp 3.4.1
 i create child theme

 /*
 Theme Name:     Pentaschool theme
 Theme URI:      http://XXXXXXXXXXXXX.hu/
 Description:    Child theme for the Twenty Eleven theme
 Author:         Egg
 Template:       twentyeleven
 Version:        0.1.0
 */

 and create code
 <script type="text/javascript" src='<?php echo
 get_bloginfo('template_url');  ?>/acf/jquery.numeric.js'></script>

 get_bloginfo('template_url') return twentyeleven url!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21336>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list