I have WordPress 4.4 installed localy on wamp server 2.5 x64 on Windows 10 and noticed that:
get_template_directory();
returns this:
'C:\wamp\www\my-site//content/themes/my-theme'
Questions
- What’s the reason for those two sequential slashes, if this is not a bug?
- Why WordPress does not handle DS correctly (regarding slashes and backslashes)? is this something up to the web server or the script itself?