While on my journey from 3.6 to 3.7 I'm having some trouble with a script I have that looks at some extra checkboxes below a post.
In the newpost_process hook I take $post['message'] and parse it for a variety of things based on the checkboxes below the post.
So I'd have this in my template:
HTML Code:
<div><label for="cb_parsethis"><input type="checkbox" name="parsethis" value="1" id="cb_parsethis" tabindex="1" $checked[parsethis] />Parse this</label></div>
Then in the hook I'd have:
PHP Code:
if ($post['parsethis'])
{
echo "parsethis";
}
Checked off or not, I'm never getting within that if statement. If I can't use $post['parsethis'] what can I use to see if parsethis was checked off?