Fatal error: Call to undefined function wp_verify_nonce()
-
This doing my head in. Here for 3 hours now trying to figure it out.
I am getting this error when I post an update.
Fatal error: Call to undefined function wp_verify_nonce()
Here is my code which generates the nonce. (the unique nonce gets generated when I look at it in source)
<input type="hidden" name="_ws250nonce" value="<?php echo wp_create_nonce('ws250updater') ?>" /> <input type="hidden" name="ws250action" value="update" /> <input type="hidden" name="page" value="ws250-admin-layouts" />
Here is my code which (is supposed to) verifies the nonce.
` if (!wp_verify_nonce($nonce, ‘ws250updater’) ) die(‘Security check’); {
}`I am running latest version of wordpress version 3.1.
The error is saying I am trying to call an undefined function. The function wp_verify_nonce is it not supposed to be included in the wordpress core files?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Fatal error: Call to undefined function wp_verify_nonce()’ is closed to new replies.