[theme-reviewers] Functions.php Worm

Andrew Nacin wp at andrewnacin.com
Wed Oct 13 16:53:49 UTC 2010


On Wed, Oct 13, 2010 at 12:35 PM, Chip Bennett <chip at chipbennett.net> wrote:

> I like the implementation, but we'll have to be careful about the
> assumptions.
>
> For example: wp_footer() will NOT always be in footer.php. It can
> (legitimately) be in index.php (or any hierarchical template file
> (archive.php, page.php, attachment.php, 404.php, etc.).
>

I'm sure it was just a quick example. I think what we'd end up doing is
loading all of the PHP files into a string, and all the CSS files into a
string, etc., and then do string searches on whichever we need to depending
on the check.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20101013/e822e4a2/attachment.htm>


More information about the theme-reviewers mailing list