Check major/minor version before setting theme directory
Merge pull request #1442 from tresf/stable-1.1

Check major/minor version before setting theme directory