Rewrite and fixed how wordless check if theme is compatible.