get_theme_root malfunction: too much slashes added
|Reported by:||hakre||Owned by:|
the function get_theme_root() in the global namespace does add too many slashes inside a theme_root in the case that a specific stylehseet or template has been used as parameter and get_theme_roots() does return slashed theme roots (which is the normal behaviour for the later function).
this leads to having and additional slash inside the theme root by default.
see the doubled slash in front of themes.