[wp-hackers] Nonces, Siteurl and TinyMCE
Andy Staines
andy at yellowswordfish.com
Tue Feb 13 12:43:09 GMT 2007
Thanks for coming back Mark. I have put some sample code here:
http://www.yellowswordfish.com/temp/noncecode.txt
Much appreciated.
Andy
On 09:24 AM | Tue 13 Feb 07, at 09:24 AM | 13 Feb 07, Mark
Jaquith wrote:
> On Feb 10, 2007, at 5:54 PM, Andy Staines wrote:
>
>> I have been attempting to set up nonces on a plugins admin forms
>> as encouraged at 'Mark on WordPress'. Whatever I try however, I
>> always get a 'header already sent' (started in menu_header.php:20
>> in functions.php line 1219). Which is wp_die(). This is followed
>> by the 'Are you sure' message and clicking yes takes me to the
>> "Manage Posts' page for some obscure reason. My own page is left
>> as it was of course.
>>
>> I have scoured my code and trimmed it to the minimum and there is
>> absolutely no output prior to the check_admin_referer('nonce_key')
>> call.
>
> Could you upload this code somewhere or include a sample?
>
> --
> Mark Jaquith
> http://markjaquith.com/
>
> Covered Web Services
> http://coveredwebservices.com/
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list