[wp-trac] [WordPress Trac] #42273: Template_url calls index pge
WordPress Trac
noreply at wordpress.org
Thu Oct 19 08:54:36 UTC 2017
#42273: Template_url calls index pge
-------------------------------+------------------------------
Reporter: wassimo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 4.8.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: template
-------------------------------+------------------------------
Comment (by wassimo):
Replying to [comment:3 SergeyBiryukov]:
> I'm not sure I see the issue, `get_bloginfo( 'template_url' )` calls
`get_template_directory_uri()`, which works in all templates and does not
depend on `index.php` in any way.
It calls index.php in the template
Tou can create empty index.php with function like mkdir
Then get_bloginfo with template _url
U can see it will calls index.php and create a folder
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42273#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list