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