[theme-reviewers] Theme Check Release

Otto otto at ottodestruct.com
Fri Dec 31 16:22:24 UTC 2010


On Fri, Dec 31, 2010 at 10:06 AM, Edward Caissie
<edward.caissie at gmail.com> wrote:
> @Otto, @Pross
>
> Just came across this on ticket:
> http://themes.trac.wordpress.org/ticket/2382
>
> "REQUIRED: Could not find wp_footer. See: wp_footer
>
> The author used: <?php do_action('wp_footer'); ?> in place of the
> wp_footer() call ...

Well, he shouldn't do that. Tell him to change it to the wp_footer() call.

Yes, I know that pretty much does the same thing. The difference is
one of forward compatibility. wp_footer() might do something slightly
different in the future. Probably not, but who knows?

Never do it yourself when there exists a function to do it for you.

-Otto


More information about the theme-reviewers mailing list