I'm confused about what this example code's doing. They add blank string as the HTTP POST nonce, then check user permission, and the nonce that was just set to empty string? I thought I saw the save_post was called near the end of the code, in Wordpress source, so isn't all this security checking redundant and unnecessary anyway, as the post is already saving?
Some actions require return values, but this one seems like it doesn't (there is no function save_post(args...). Am I right? If so, it would be helpful to include this information. Nyodulf (talk)