Skip to:
Content
Pages
Categories
Search
Top
Bottom

May some one tell me what “_wpnonce” is for?

  • Hi all,

    I’d like to be able to post to my forum from another page and when I see the <form> attach to the reply area in every topic, they all have a _wpnonce hidden value send which mean I don’t understand. Could someone tell me what if this value is not given or wrong? (compared to what?).

    Tks for help

    Rui

Viewing 2 replies - 1 through 2 (of 2 total)
  • A nonce is used to ensure that you’re coming from the right place and you weren’t tricked into submitting the data (basically to give continuity between starting and finishing an action). If the value is not given or wrong I’d expect bbPress not to post at all. You might be able to look through the code and see where it creates the nonce, then replicate that yourself.

    Fel64: thanks for those explanation.

    I might be able to find this variable somewhere when i’m into the posting proccess, but I’m showing parts of my forum in my main site and I wanted to allow people to post directly from this main site. Now, They have to go to the forum and post, this reduce the probability people would post something.

    Could you help me with that please?

    Thank you

    Rui

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.