[wp-hackers] using check_admin_referrer gives headers already sent error

Viper007Bond viper at viper007bond.com
Mon Jan 22 03:04:34 GMT 2007

It needs to be used before any content is sent so that it can display a "are
you sure" form if the nonce doesn't match.

On 1/21/07, Bjorn Wijers <mailings at bdisfunctional.net> wrote:
> Hi,
> Can somebody explain to me where I need to check the nonce with
> check_admin_referrer? The way I do this now gives me 'headers already
> sent errors' when I test it by using the protected link outside the
> admin. So I suppose the nonce is working almost except for the headers
> already sent error. Perhaps somebody can shed some light on this?
> grtz
> BjornW
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

Viper007Bond | http://www.viper007bond.com/

More information about the wp-hackers mailing list