Theme Name not guaranteed unique, collision handling missing
|Reported by:||andy||Owned by:|
In working on adding a newer version of a theme to an installation, it was noted that some functions rely on the theme name being unique. For instance, the wrong stylesheet path would be returned. The "Theme Name" in style.css should not be relied upon for uniqueness; only the directory can be counted upon because the filesystem prevents collisions.
Proposed: refactor theme system to use dirname exclusively for referencing the active theme/stylesheet.