336 reputation
620
bio website
location
age
visits member for 3 years, 11 months
seen Sep 24 '12 at 10:26

Nov
1
accepted difference between esc_attr(), strip_slashes(), strip_tags()?
Nov
1
comment Do widget options need to be escaped widget()?
yes, but I wanted to know if you are required to sanitize them even when you're retrieving these options from the database. It just doesn't seem necessary to do that...
Nov
1
accepted Do widget options need to be escaped widget()?
Nov
1
asked Schedule cron event from widget
Oct
29
awarded  Editor
Oct
29
revised Do widget options need to be escaped widget()?
added 23 characters in body
Oct
29
asked Do widget options need to be escaped widget()?
Oct
28
asked difference between esc_attr(), strip_slashes(), strip_tags()?
Oct
5
accepted What's the difference between home.php and index.php?
Oct
5
awarded  Student
Oct
5
asked What's the difference between home.php and index.php?
Sep
13
comment Widget Javascript code (ajax)
well i added the javascript inside the widget output. not very elegant but it works...
Sep
13
accepted Widget Javascript code (ajax)
Sep
13
asked Adding first / last CSS classes to menus
Sep
12
asked Widget Javascript code (ajax)
Sep
1
awarded  Scholar
Sep
1
accepted Using transients to store captchas
Sep
1
comment Using transients to store captchas
Thanks Mitcho. I ended up using no captcha at all :) Basically I created a nonce like you said and put it in a transient. Then I used javascript/ajax to pull out that transient and store it in a hidden input field, 10 seconds after the page has loaded. Then, when the form is submitted, I just match the transient with the input field $_POST and decide if the message is spam or not. of course all of this doesn't work if javascript is disabled, but who has js off? :)
Sep
1
comment Using transients to store captchas
well I described it above... I'm trying to find a very simple way to add captchas to custom forms generated by a shortcode, without having to resort to plugins. I already have this working (almost), and just need your opinions if it's good to implement the captcha this way...
Sep
1
asked Using transients to store captchas