'Theme URI:', '[ \t\/*#]*Author URI:' => 'Author URI:', ); foreach ($checks as $key => $check) { if ( !preg_match( '/' . $key . '/i', $css, $matches ) ) { $this->error[] = "RECOMMENDED: {$check} is missing from your style.css header."; $ret = false; } } return $ret; } function getError() { return $this->error; } } $themechecks[] = new Style_Suggested;