get_themes() may lie about the template directory
|Reported by:||nacin||Owned by:|
If the first file in the template array is actually overridden by the child theme, then get_themes() will have an incorrect value for the Template Dir.
Template and style have dual meanings in get_themes() -- in some cases, it's the directory (parent versus child), in other cases, it's the kind of file (PHP versus CSS).
Cleaning this up further in 3.2. Working on a quick fix for 3.1 though.