A backport from 8.x-dev: http://drupal.org/node/1125220

In this test case, the active admin theme is Blossom, a sub-theme of Seven.

The attached image shows that in seven_preprocess_html, the path_to_theme() function returns the path to Blossom's directory. This results in the two IE stylesheet files added through drupal_add_css() referring to non-existant files.

Comments

jessebeach’s picture

Status: Active » Needs review
StatusFileSize
new3.11 KB

This patch includes updates to Seven, Bartik and Garland to use drupal_get_path instead of path_to_theme to refer to directories for CSS files.

David_Rothstein’s picture

Status: Needs review » Closed (duplicate)

It won't get committed to D7 until it's been committed to D8 first anyway. So it's better to keep it all in the same issue.