Support » Plugins and Hacks » Hacks » Problem with update_post_meta
4 years, 10 months ago
I’m quite new to plugin scripting and I have a problem with the update_post_meta() function. Please have a look at this part of the code:
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Any suggestions? If not: could the error be outside this part of the code?
Thanks for you help
Another part of the (maybe relevant) code:
OK, big mistake of a forum newbie. Here’s the code in the pastebin:
Creating custom post input fields
Saving the post meta
Any help or hint would be much appreciated!
Resolved. $action of wp_nonce_field and wp_verify_nonce wasn’t the same.
4 years, 9 months ago
Ooops, dind’t I mark this as resolved already?