Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: post_form’s _wponce, what is it?


so1o
Participant

@so1o

_wpnonce doesnt have anything to do with the functionality.

you dont need to set the value of the variable. just call bb_nonce_field($x);

and when you are processing the $_POST call

bb_check_admin_referer( $x);

you can put $x as ‘create-topic’ or ‘create-no-forum-specific-topic’ or anything else you want.. it will take care of itself

i think the _wpnonce is a security mechanism that checks for the posting source.

Skip to toolbar