[theme-reviewers] Emergency Call

Otto otto at ottodestruct.com
Fri Sep 3 14:06:52 UTC 2010

Okay, I can give you a quickie on how it works.

There's a function called _check_isactive_widget which is hooked to
admin_head later in the file.

The first thing this function does is this:
$output=strip_tags($output, $allowed);

That reads its own file, and uses a couple of functions lower down
that makes it find itself. It's getting everything in the second set
of <?...?> tags.

Then it calls this:
+ 6)));

The _get_allwidgetcont is really a directory traverser, which goes
through the themes directory and looks for any functions.php files
that it can find.

More information about the theme-reviewers mailing list