';" ) !== false || strpos ( $php, "ew = '';" ) !== false || strpos ( $php, "end_widget' => ''") !== false //Lubith || strpos ( $php, "Lubith") !== false //Templatetoaster || strpos ( $php, "templatetoaster_") !== false || strpos ( $php, "Templatetoaster_") !== false || strpos ( $php, "@package templatetoaster") !== false //wpthemegenerator || strpos ( $php, "wptg_") !== false ) { $this->error[] = "" . __('WARNING', 'theme-check' ). ": " . __( 'This theme appears to have been auto-generated. Generated themes are not allowed in the themes directory.', 'theme-check' ); $ret = false; } return $ret; } function getError() { return $this->error; } } $themechecks[] = new GeneratedCheck;