Well, regardless, I do have a simple structure I've been working on to make the theme checker more easily expandable. It uses a simple class based mechanism to allow us to easily add theme checks in on-the-fly. I'll have something soon to demonstrate and hopefully allow people to help me write the checks for it.<br>
<br>It's *very* simple at the moment though. I'll give you a quick example of a check I've written for it:<br><div><br></div><div>class Footer_Check implements themecheck {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>protected $error = null;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>function check( $php_files, $css_files, $other_files) {</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>if( strpos( $php_files['footer.php'], 'wp_footer' ) === false ) {</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>$error = "The footer.php file does not have a wp_footer() call in it. This is required.";</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>return false;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>}<span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>return true;</div><div>
<span class="Apple-tab-span" style="white-space:pre">        </span>}<span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>function getError() { return $error; }</div>
<div>}</div><div>$themechecks[] = new Footer_Check;</div><div><br></div><div><br></div>That code adds the wp_footer check in and any incoming themes will then get run through it. Adding new checks is as simple as creating one of those and popping it in a new file in the right place. No limit on number of checks. All errors found will be returned.<br>
<br>-Otto<br><div><br></div>