nonce
pronunciation
How to pronounce nonce in British English:
UK [nɒns]
How to pronounce nonce in American English:
US [nɑns]
-
- Noun:
- the present occasion
Word Origin
- nonce (n.)
- abstracted from phrase for þe naness (c. 1200) "for a special occasion, for a particular purpose," itself a misdivision (see N for other examples) of for þan anes "for the once," in reference to a particular occasion or purpose, the þan being from Middle English dative definite article þam (see the). The phrase used from early 14c. as an empty filler in metrical composition. As an adjective from 1884.
Example
- 1. Now I 'm using wordpress 's wp_nonce_field to create a nonce .
- 2. We can use wordpress function , wp_verify_nonce to verify that the correct nonce was used in the time limit .
- 3. By adding a nonce , you can distinguish between the same messages sent more than one time .
- 4. Since I have a better understanding of how the nonce works now , I 'll try and explain how we verify it .
- 5. 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 .