When we use drush integration to create subtheme with '_' or '-' in name (eg mother_ship) we get files with 'mother-ship' string in every place where machine name is expected:
- mother-ship.info file
- function mother-ship_some_hook()
- etc.
It's obviously wrong, and it's because drupal_clean_css_identifier was used for cleaning the name.
I've noticed that in this issue doesn't exists in Zen. I've copied their solution for names, and I worked as expected.
Patch on the way.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | mothership-fixed_drush_integration_for_names_with_underscore-1706398.patch | 1.2 KB | marcin.wosinek |
Comments
Comment #1
marcin.wosinek commentedpatch
Comment #2
realityloop commentedfixed in 3.x