{"id":62118,"date":"2014-05-18T15:18:07","date_gmt":"2014-05-18T15:18:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-recaptcha\/"},"modified":"2015-04-22T09:50:36","modified_gmt":"2015-04-22T09:50:36","slug":"simple-recaptcha","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/simple-recaptcha\/","author":13171256,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.6","stable_tag":"trunk","tested":"4.2.39","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Simple reCAPTCHA","header_author":"Chris Dillon","header_description":"","assets_banners_color":"","last_updated":"2015-04-22 09:50:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.wpmission.com\/wordpress-plugins\/simple-recaptcha","header_author_uri":"http:\/\/www.wpmission.com\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":3995,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-62118","plugin","type-plugin","status-closed","hentry"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simple-recaptcha.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<h4>What this plugin does<\/h4>\n\n<p>Provide a function to add reCAPTCHA to any custom form.<\/p>\n\n<h4>What this plugin does NOT do<\/h4>\n\n<p>Add reCAPTCHA to standard WordPress forms like logins or comments. For that, try <a href=\"https:\/\/wordpress.org\/plugins\/google-captcha\/\">Google Captcha<\/a> by BestWebSoft.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>A single lightweight module for use by other plugins and themes.<\/li>\n<li>Store the reCAPTCHA keys in one place, independent of any other plugin or theme.<\/li>\n<li>Display and validate the reCAPTCHA with a few lines of code.<\/li>\n<li>Four themes by Google (Red, White, BlackGlass, and Clean).<\/li>\n<li>Multisite compatible.<\/li>\n<\/ul>\n\n<p>This plugin has room to grow and all ideas and feedback are welcome.<\/p>\n\n<h4>How to use<\/h4>\n\n<p>Step 1. Enter your reCAPTCHA keys in <code>Settings &gt; Simple reCAPTCHA<\/code>.<\/p>\n\n<p>Step 2. Add the reCAPTCHA box to your form:<\/p>\n\n<pre><code>&lt;?php\n\/\/ is Simple reCAPTCHA active?\nif ( function_exists( &#039;wpmsrc_display&#039; ) ) { \n    echo wpmsrc_display();\n}\n?&gt;<\/code><\/pre>\n\n<p>Step 3. Check the reCAPTCHA response in your server-side form validation:<\/p>\n\n<pre><code>&lt;?php\n\/\/ is Simple reCAPTCHA active?\nif ( function_exists( &#039;wpmsrc_check&#039; ) ) {\n\n    \/\/ check for empty user response first (optional)\n    if ( empty( $_POST[&#039;recaptcha_response_field&#039;] ) ) {\n    \n        $errors[&#039;captcha&#039;] = __( &#039;Please complete the CAPTCHA.&#039;, &#039;yourtextdomain&#039; );\n    \n    } else {\n    \n        \/\/ check captcha\n        $response = wpmsrc_check();\n        if ( ! $response-&gt;is_valid ) {\n            $errors[&#039;captcha&#039;] = __( &#039;The CAPTCHA was not entered correctly. Please try again.&#039;, &#039;yourtextdomain&#039; );\n            \/\/ $response[&#039;error&#039;] contains the actual error message, e.g. &quot;incorrect-captcha-sol&quot;\n        }\n        \n    }\n    \n}\n?&gt;<\/code><\/pre>\n\n<h4>Translations<\/h4>\n\n<p>Since version 0.6:<\/p>\n\n<ul>\n<li>Serbo-Croatian (sr_RS) thanks to Andrijana Nikolic at <a href=\"http:\/\/webhostinggeeks.com\/\">Web Hosting Geeks<\/a>.<\/li>\n<\/ul>\n\n<p>Can you help? <a href=\"http:\/\/www.wpmission.com\/contact\/\">Contact me<\/a>.<\/p>\n\n<!--section=installation-->\n<p>Option A:<\/p>\n\n<ol>\n<li>Go to <code>Plugins &gt; Add New<\/code>.<\/li>\n<li>Search for \"simple recaptcha\".<\/li>\n<li>Click \"Install Now\".<\/li>\n<\/ol>\n\n<p>Option B:<\/p>\n\n<ol>\n<li>Download the zip file.<\/li>\n<li>Unzip it on your hard drive.<\/li>\n<li>Upload the <code>simple-recaptcha<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<\/ol>\n\n<p>Option C:<\/p>\n\n<ol>\n<li>Download the zip file.<\/li>\n<li>Upload the zip file via <code>Plugins &gt; Add New &gt; Upload<\/code>.<\/li>\n<\/ol>\n\n<p>Finally, activate the plugin.<\/p>\n\n<p>If you need help, use the <a href=\"http:\/\/wordpress.org\/support\/plugin\/wider-admin-menu\">support forum<\/a> or <a href=\"http:\/\/www.wpmission.com\/contact\/\">contact me<\/a>.<\/p>\n\n<!--section=faq-->\n<h4>Is this multisite compatible?<\/h4>\n\n<p>Yes, be sure to Network Activate. Super admins can manage the authentication keys and set the default theme, as well as any subsite's theme. Each subsite admin can change their theme.<\/p>\n\n<h4>How do I get Google reCAPTCHA keys?<\/h4>\n\n<p><a href=\"https:\/\/www.google.com\/recaptcha\/admin\">Sign up and manage your keys here<\/a>.<\/p>\n\n<h4>How to change the style?<\/h4>\n\n<p>Go to the Settings page and select a theme. Don't forget to <code>Save Changes<\/code>.<\/p>\n\n<p>To customize it, select the Clean theme and style up from there.<\/p>\n\n<!--section=changelog-->\n<h4>0.6<\/h4>\n\n<ul>\n<li>Add Serbo-Croatian translation thanks to Andrijana Nikolic at <a href=\"http:\/\/webhostinggeeks.com\/\">Web Hosting Geeks<\/a>.<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Add <code>uninstall.php<\/code>, a best practice.<\/li>\n<li>Leave No Trace.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Fix bug in display function.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Improve compatibility with earlier versions of PHP.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Fix multisite compatibility.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Add Google&#039;s reCAPTCHA to any custom form.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/62118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=62118"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cdillon27"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=62118"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=62118"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=62118"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=62118"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=62118"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=62118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}