title-capitalization-for-wordpress icon indicating copy to clipboard operation
title-capitalization-for-wordpress copied to clipboard

Introduce nonce verification when checking for new posts

Open tommcfarlin opened this issue 9 years ago • 2 comments

Bringing some of the code up to the WordPress coding standards requires nonce verification in some of the functions for 1.3.0.

tommcfarlin avatar Aug 16 '16 21:08 tommcfarlin

I'll take a look.

afragen avatar Aug 16 '16 21:08 afragen

I had a difficult time finding a nonce to check. In the end I can't consistently check $_POST['_wpnonce'] as I can't reliably find the action. Sometimes it's'update_post_' . $_POST['ID']`, but I don't know what it is for an initial post.

I'll keep looking.

afragen avatar Aug 19 '16 02:08 afragen