[theme-reviewers] Functions.php Worm
chip at chipbennett.net
Wed Oct 13 16:57:04 UTC 2010
That seems like a more efficient approach, yeah: load the string once, then
perform many checks.
What would be nice would be the ability to control the error message that
gets output for each check, to point the developer to 1) the specific Theme
Review Guideline, and/or 2) the Codex reference, for each check.
(Thanks to Pross, we have most of those links collated already.)
On Wed, Oct 13, 2010 at 11:53 AM, Andrew Nacin <wp at andrewnacin.com> wrote:
> 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
>> 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.
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers