Now I 'm using wordpress 's wp_nonce_field to create a nonce .
现在我要使用wordpress的wp_nonce_field函数创建一个nonce。
We can use wordpress function , wp_verify_nonce to verify that the correct nonce was used in the time limit .
我们用wordpress的wp_verify_nonce函数在有限时间之内验证正确的nonce。
By adding a nonce , you can distinguish between the same messages sent more than one time .
通过添加现时标志,就可以对多次发送的相同消息加以区分了。
Since I have a better understanding of how the nonce works now , I 'll try and explain how we verify it .
现在我对nonce的工作方式有更深的理解了,我会试着解释我们是如何验证的。
I 've just removed some extra code that wasn 't needed ( checking for standard values , which was removed from the arrays ) and I also changed the way I setup the nonce .