[wp-trac] [WordPress Trac] #42273: Template_url calls index pge

WordPress Trac noreply at wordpress.org
Thu Oct 19 06:33:03 UTC 2017


#42273: Template_url calls index pge
--------------------------+-----------------------------
 Reporter:  wassimo       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.8.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 get_bloginfo("template_url")

 When i use the function with these arguments
 The function calls index.php and then return the url

 So u can fix that by stop calling index

 Test the code with

 Mkdir() << inside index.php

 Then use the function in  page.php  or single.php template
 And see!.


 Hope u credit me for this bug

 Wasim .

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42273>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list