[wp-hackers] 'init' and 'wp' actions calls fail on functions.php

Otto otto at ottodestruct.com
Fri May 21 22:08:58 UTC 2010


On Fri, May 21, 2010 at 4:19 PM, Vinicius Massuchetto
<viniciusandre at gmail.com> wrote:
> On a theme's functions.php, exactly as it is pasted here.


Something as simple as a space after the closing ?> bit might cause it.

If you have a closing ?> in the functions.php, remove it. It's
unnecessary and eliminating it sometimes solves these things.

-Otto


More information about the wp-hackers mailing list