[wp-trac]
[WordPress Trac] #5069: Theme Name not guaranteed unique,
collision handling missing
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 24 22:48:40 GMT 2007
#5069: Theme Name not guaranteed unique, collision handling missing
----------------------+-----------------------------------------------------
Reporter: andy | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: Template | Version: 2.3
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/5069>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list