WordPress ReCaptcha Integration - Version 1.2.2

Version Description

  • End-of-Life!
Download this release

Release Info

Developer podpirate
Plugin Icon 128x128 WordPress ReCaptcha Integration
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2.1 to 1.2.2

css/recaptcha-options.css CHANGED
File without changes
inc/class-wp_recaptcha_bbpress.php CHANGED
File without changes
inc/class-wp_recaptcha_contactform7.php CHANGED
File without changes
inc/class-wp_recaptcha_ninjaforms.php CHANGED
File without changes
inc/class-wp_recaptcha_woocommerce.php CHANGED
File without changes
js/recaptcha-options.js CHANGED
File without changes
languages/wp-recaptcha-integration.pot ADDED
@@ -0,0 +1,335 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2020 Jörn Lund
2
+ # This file is distributed under the same license as the WP reCaptcha Integration plugin.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: WP reCaptcha Integration 1.2.2\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-recaptcha-integration\n"
7
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
+ "Language-Team: LANGUAGE <LL@li.org>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2020-03-09T10:12:47+00:00\n"
13
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "X-Generator: WP-CLI 2.4.0\n"
15
+ "X-Domain: wp-recaptcha-integration\n"
16
+
17
+ #. Plugin Name of the plugin
18
+ msgid "WP reCaptcha Integration"
19
+ msgstr ""
20
+
21
+ #. Plugin URI of the plugin
22
+ msgid "https://wordpress.org/plugins/wp-recaptcha-integration/"
23
+ msgstr ""
24
+
25
+ #. Description of the plugin
26
+ msgid "<strong>PLUGIN ABANDONED!</strong> Integrate reCaptcha in your blog. Supports no Captcha (new style recaptcha). Provides of the box integration for signup, login, comment forms and lost password."
27
+ msgstr ""
28
+
29
+ #. Author of the plugin
30
+ msgid "Jörn Lund"
31
+ msgstr ""
32
+
33
+ #. Author URI of the plugin
34
+ msgid "https://github.com/mcguffin/"
35
+ msgstr ""
36
+
37
+ #: inc/class-wp_recaptcha.php:396
38
+ #: inc/class-wp_recaptcha.php:442
39
+ #: inc/class-wp_recaptcha.php:456
40
+ #: inc/class-wp_recaptcha.php:468
41
+ #: inc/class-wp_recaptcha_bbpress.php:71
42
+ #: inc/class-wp_recaptcha_woocommerce.php:159
43
+ #: inc/class-wp_recaptcha_woocommerce.php:168
44
+ msgid "<strong>Error:</strong> the Captcha didn’t verify."
45
+ msgstr ""
46
+
47
+ #: inc/class-wp_recaptcha_awesome_support.php:82
48
+ msgid "The Captcha didn&#039;t verify"
49
+ msgstr ""
50
+
51
+ #: inc/class-wp_recaptcha_cforms2.php:40
52
+ msgid "reCAPTCHA"
53
+ msgstr ""
54
+
55
+ #: inc/class-wp_recaptcha_cforms2.php:61
56
+ msgid "Please check WordPress reCaptcha integration plugin settings."
57
+ msgstr ""
58
+
59
+ #: inc/class-wp_recaptcha_nocaptcha.php:114
60
+ msgid "Light"
61
+ msgstr ""
62
+
63
+ #: inc/class-wp_recaptcha_nocaptcha.php:117
64
+ msgid "Dark"
65
+ msgstr ""
66
+
67
+ #: inc/class-wp_recaptcha_nocaptcha.php:267
68
+ msgid "Please enable JavaScript to submit this form."
69
+ msgstr ""
70
+
71
+ #: inc/class-wp_recaptcha_options.php:97
72
+ #: inc/class-wp_recaptcha_options.php:109
73
+ msgid "reCaptcha Settings"
74
+ msgstr ""
75
+
76
+ #: inc/class-wp_recaptcha_options.php:98
77
+ msgid "reCaptcha"
78
+ msgstr ""
79
+
80
+ #: inc/class-wp_recaptcha_options.php:158
81
+ msgid "<strong>reCaptcha needs your attention:</strong> To make it work You need to enter an api key. <br />You can do so at the <a href=\"%s\">reCaptcha settings page</a>."
82
+ msgstr ""
83
+
84
+ #: inc/class-wp_recaptcha_options.php:176
85
+ msgid "Protect"
86
+ msgstr ""
87
+
88
+ #: inc/class-wp_recaptcha_options.php:177
89
+ msgid "Style"
90
+ msgstr ""
91
+
92
+ #: inc/class-wp_recaptcha_options.php:179
93
+ msgid "Connect"
94
+ msgstr ""
95
+
96
+ #: inc/class-wp_recaptcha_options.php:181
97
+ msgid "Advanced"
98
+ msgstr ""
99
+
100
+ #: inc/class-wp_recaptcha_options.php:187
101
+ msgid "Site key"
102
+ msgstr ""
103
+
104
+ #: inc/class-wp_recaptcha_options.php:188
105
+ msgid "Secret key"
106
+ msgstr ""
107
+
108
+ #: inc/class-wp_recaptcha_options.php:210
109
+ msgid "Flavor"
110
+ msgstr ""
111
+
112
+ #: inc/class-wp_recaptcha_options.php:217
113
+ msgid "No Captcha where you just click a button"
114
+ msgstr ""
115
+
116
+ #: inc/class-wp_recaptcha_options.php:221
117
+ msgid "Old style reCAPTCHA where you type some cryptic text"
118
+ msgstr ""
119
+
120
+ #: inc/class-wp_recaptcha_options.php:226
121
+ msgid "Language Settings"
122
+ msgstr ""
123
+
124
+ #: inc/class-wp_recaptcha_options.php:228
125
+ msgid "Theme"
126
+ msgstr ""
127
+
128
+ #: inc/class-wp_recaptcha_options.php:230
129
+ msgid "Disable Submit Button"
130
+ msgstr ""
131
+
132
+ #: inc/class-wp_recaptcha_options.php:232
133
+ msgid "Disable Form Submit Button until no-captcha is entered."
134
+ msgstr ""
135
+
136
+ #: inc/class-wp_recaptcha_options.php:234
137
+ msgid "Noscript Fallback"
138
+ msgstr ""
139
+
140
+ #: inc/class-wp_recaptcha_options.php:238
141
+ msgid "Provide a fallback for non javascript capable browsers."
142
+ msgstr ""
143
+
144
+ #: inc/class-wp_recaptcha_options.php:239
145
+ msgid "Leave this unchecked when your site requires JavaScript anyway."
146
+ msgstr ""
147
+
148
+ #: inc/class-wp_recaptcha_options.php:247
149
+ msgid "Comment Form rendering"
150
+ msgstr ""
151
+
152
+ #: inc/class-wp_recaptcha_options.php:251
153
+ msgid "My Comment Form is WordPress 4.2 compatible."
154
+ msgstr ""
155
+
156
+ #: inc/class-wp_recaptcha_options.php:252
157
+ msgid "Enable this when your comment form uses the <code>comment_form_submit_button</code> filter. (Or just try if it works.)"
158
+ msgstr ""
159
+
160
+ #: inc/class-wp_recaptcha_options.php:283
161
+ msgid "Comment Form"
162
+ msgstr ""
163
+
164
+ #: inc/class-wp_recaptcha_options.php:288
165
+ msgid "Signup Form"
166
+ msgstr ""
167
+
168
+ #: inc/class-wp_recaptcha_options.php:293
169
+ msgid "Login Form"
170
+ msgstr ""
171
+
172
+ #: inc/class-wp_recaptcha_options.php:298
173
+ msgid "Lost Password Form"
174
+ msgstr ""
175
+
176
+ #: inc/class-wp_recaptcha_options.php:306
177
+ msgid "woocommerce Checkout"
178
+ msgstr ""
179
+
180
+ #: inc/class-wp_recaptcha_options.php:315
181
+ msgid "Awesome Support Registration"
182
+ msgstr ""
183
+
184
+ #: inc/class-wp_recaptcha_options.php:323
185
+ msgid "bbPress New Topic"
186
+ msgstr ""
187
+
188
+ #: inc/class-wp_recaptcha_options.php:329
189
+ msgid "bbPress New Reply"
190
+ msgstr ""
191
+
192
+ #: inc/class-wp_recaptcha_options.php:334
193
+ msgid "Forms to protect"
194
+ msgstr ""
195
+
196
+ #: inc/class-wp_recaptcha_options.php:339
197
+ msgid "Disable for known users"
198
+ msgstr ""
199
+
200
+ #: inc/class-wp_recaptcha_options.php:341
201
+ msgid "Disable reCaptcha verification for logged in users."
202
+ msgstr ""
203
+
204
+ #: inc/class-wp_recaptcha_options.php:344
205
+ msgid "Prevent lockout"
206
+ msgstr ""
207
+
208
+ #: inc/class-wp_recaptcha_options.php:348
209
+ msgid "Allow administrator to log in if API keys do not work."
210
+ msgstr ""
211
+
212
+ #: inc/class-wp_recaptcha_options.php:349
213
+ msgid "When the captcha verification fails, and the private or public API key does not work the plugin will let you in anyway. Please note that with this option checked plus a broken keypair your site will be open to brute force attacks, that try to guess an administrator password."
214
+ msgstr ""
215
+
216
+ #: inc/class-wp_recaptcha_options.php:355
217
+ msgid "Please configure the public and private key. <a href=\"http://www.google.com/recaptcha/whyrecaptcha\">What are you trying to tell me?</a>"
218
+ msgstr ""
219
+
220
+ #: inc/class-wp_recaptcha_options.php:368
221
+ msgid "Please register your blog through the <a href=\"%s\">Google reCAPTCHA admin page</a> and enter the public and private key in the fields below. <a href=\"%s\">What is this all about?</a>"
222
+ msgstr ""
223
+
224
+ #: inc/class-wp_recaptcha_options.php:376
225
+ msgid "You already entered an API Key. Use the button below to enter it again."
226
+ msgstr ""
227
+
228
+ #: inc/class-wp_recaptcha_options.php:391
229
+ msgid "New API Key"
230
+ msgstr ""
231
+
232
+ #: inc/class-wp_recaptcha_options.php:392
233
+ msgid "Test API Key"
234
+ msgstr ""
235
+
236
+ #: inc/class-wp_recaptcha_options.php:404
237
+ msgid "Select which forms you want to protect with a captcha."
238
+ msgstr ""
239
+
240
+ #: inc/class-wp_recaptcha_options.php:421
241
+ msgid "Choose a flavor and theme for your Captcha. Please note that with the old style reCaptcha you cannot have more than one captcha per page."
242
+ msgstr ""
243
+
244
+ #: inc/class-wp_recaptcha_options.php:453
245
+ msgid "Test verfication"
246
+ msgstr ""
247
+
248
+ #: inc/class-wp_recaptcha_options.php:466
249
+ msgid "The secret Key is missing."
250
+ msgstr ""
251
+
252
+ #: inc/class-wp_recaptcha_options.php:467
253
+ msgid "The secret Key is invalid. You better check your domain configuration and enter it again."
254
+ msgstr ""
255
+
256
+ #: inc/class-wp_recaptcha_options.php:468
257
+ msgid "The user response was missing"
258
+ msgstr ""
259
+
260
+ #: inc/class-wp_recaptcha_options.php:469
261
+ msgid "Invalid user response"
262
+ msgstr ""
263
+
264
+ #: inc/class-wp_recaptcha_options.php:478
265
+ msgid "Works! All good!"
266
+ msgstr ""
267
+
268
+ #: inc/class-wp_recaptcha_options.php:611
269
+ msgid "Automatic"
270
+ msgstr ""
271
+
272
+ #: inc/class-wp_recaptcha_options.php:613
273
+ msgid "Other"
274
+ msgstr ""
275
+
276
+ #: inc/class-wp_recaptcha_options.php:651
277
+ msgid "Unstyled HTML to apply your own Stylesheets."
278
+ msgstr ""
279
+
280
+ #: inc/class-wp_recaptcha_options.php:724
281
+ #: inc/class-wp_recaptcha_options.php:749
282
+ msgid "ReCaptcha"
283
+ msgstr ""
284
+
285
+ #: inc/class-wp_recaptcha_recaptcha.php:60
286
+ msgid "Red"
287
+ msgstr ""
288
+
289
+ #: inc/class-wp_recaptcha_recaptcha.php:63
290
+ msgid "White"
291
+ msgstr ""
292
+
293
+ #: inc/class-wp_recaptcha_recaptcha.php:66
294
+ msgid "Black Glass"
295
+ msgstr ""
296
+
297
+ #: inc/class-wp_recaptcha_recaptcha.php:69
298
+ msgid "Clean"
299
+ msgstr ""
300
+
301
+ #: inc/class-wp_recaptcha_recaptcha.php:72
302
+ msgid "Custom"
303
+ msgstr ""
304
+
305
+ #: inc/class-wp_recaptcha_recaptcha.php:181
306
+ msgid "Incorrect please try again"
307
+ msgstr ""
308
+
309
+ #: inc/class-wp_recaptcha_recaptcha.php:183
310
+ msgid "Enter the words above:"
311
+ msgstr ""
312
+
313
+ #: inc/class-wp_recaptcha_recaptcha.php:184
314
+ msgid "Enter the numbers you hear:"
315
+ msgstr ""
316
+
317
+ #: inc/class-wp_recaptcha_recaptcha.php:188
318
+ msgid "Get another CAPTCHA"
319
+ msgstr ""
320
+
321
+ #: inc/class-wp_recaptcha_recaptcha.php:189
322
+ msgid "Get an audio CAPTCHA"
323
+ msgstr ""
324
+
325
+ #: inc/class-wp_recaptcha_recaptcha.php:190
326
+ msgid "Get an image CAPTCHA"
327
+ msgstr ""
328
+
329
+ #: wp-recaptcha-integration.php:67
330
+ msgid "Warning:"
331
+ msgstr ""
332
+
333
+ #: wp-recaptcha-integration.php:68
334
+ msgid "“WP reCaptcha Integration” is no longer maintained. It may disappear without further notice."
335
+ msgstr ""
readme.txt CHANGED
@@ -1,400 +1,403 @@
1
- === WordPress ReCaptcha Integration ===
2
- Contributors: podpirate
3
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F8NKC6TCASUXE
4
- Tags: security, captcha, recaptcha, no captcha, login, signup, contact form 7, ninja forms, woocommerce
5
- Requires at least: 3.8
6
- Tested up to: 4.8
7
- Stable tag: 1.2.0
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
- reCaptcha for login, signup, comment forms, Ninja Forms and woocommerce.
12
-
13
- == Description ==
14
-
15
- Integrate reCaptcha in your blog. Supports no Captcha as well as old style recaptcha.
16
- Provides of the box integration for signup, login, comment formsand Ninja Forms as well
17
- as a plugin API for your own integrations.
18
-
19
- = Features: =
20
- - Secures login, signup und comments with a recaptcha.
21
- - Supports old as well as new reCaptcha.
22
- - Works together with
23
- - WP Multisite
24
- - bbPress (thanks to [Tareq Hasan](http://tareq.wedevs.com/)
25
- - BuddyPress
26
- - AwesomeSupport (thanks to [Julien Liabeuf](http://julienliabeuf.com/)
27
- - WooCommerce (Only checkout, registration and login form. Not password reset)
28
- - [Ninja Forms](http://ninjaforms.com/)
29
- - cformsII
30
-
31
- - For integration in your self-coded forms see this [wiki article](https://github.com/mcguffin/wp-recaptcha-integration/wiki/Custom-Themes-and-Forms) for details.
32
-
33
- = Localizations =
34
- - Brazilian Portuguese (thanks to [Vinícius Ferraz](http://www.viniciusferraz.com))
35
- - Spanish (thanks to [Ivan Yivoff](https://github.com/yivi))
36
- - Italian (thanks to [Salaros](http://blog.salaros.com/))
37
- - German
38
-
39
- Latest Files on GitHub: [https://github.com/mcguffin/wp-recaptcha-integration](https://github.com/mcguffin/wp-recaptcha-integration)
40
-
41
- = Compatibility =
42
-
43
- On a **WP Multisite** you can either activate the plugin network wide or on a single site.
44
-
45
- Activated on a single site everything works as usual.
46
-
47
- With network activation entering the API key and setting up where a captcha is required
48
- is up to the network admin. A blog admin can override the API key e.g. when his blog is
49
- running under his/her own domain name.
50
-
51
-
52
- = Known Limitations =
53
- - You can't have more than one old style reCaptcha on a page. This is a limitiation of
54
- reCaptcha itself. If that's an issue for you, you should use the no Captcha Form.
55
-
56
- - A No Captcha definitely requires client side JavaScript enabled. That's how it does its
57
- sophisticated bot detection magic. There is no fallback. If your visitor does not have
58
- JS enabled the captcha test will not let him through.
59
-
60
- - On a **Contact Form 7** when the reCaptcha is disabled (e.g. for logged in users) the field
61
- label will be still visible. This is due to CF7 Shortcode architecture, and can't be fixed.
62
-
63
- To handle this there is a filter `recaptcha_disabled_html`. You can return a message for your logged-in
64
- users here. Check out the [GitHub Repo](https://github.com/mcguffin/wp-recaptcha-integration) for details.
65
-
66
- - As of version 4.3 CF7 comes with its own recaptcha. Both are supposed to work together.
67
- I you want to keep the WP ReCaptcha functionality, e.g. if you want to hide the captcha
68
- from known users, leave the integration in the CF7 settings unconfigured.
69
-
70
- - Old style reCaptcha does not work together with **WooCommerce**.
71
-
72
- - In **WooCommerce** the reset password form can not be protected by a captcha. Woocommerce does
73
- not fire any action in the lost password form, so there is no way for the plugin to hook in.
74
- Take a look at [this thread](https://wordpress.org/support/topic/captcha-not-showing-on-lost-password-page?replies=7) for a workaround.
75
-
76
- - Due to a lack of filters there is no (and as far as one can see, there will never be)
77
- support for the **MailPoet** subscription form.
78
-
79
- == Installation ==
80
-
81
- First follow the standard [WordPress plugin installation procedere](http://codex.wordpress.org/Managing_Plugins).
82
-
83
- Then go to the [Google Recaptcha Site](http://www.google.com/recaptcha), register your site and enter your API-Keys on the configuration page.
84
-
85
- == Frequently asked questions ==
86
-
87
- = The login captcha says 'ERROR: (something somthing)'. What can I do? =
88
-
89
- If it says 'Invalid sitekey' and you checked the 'Prevent lockout' option on the plugin
90
- settings (it's on by default) you can log in with an administrator account and ignore the
91
- captcha. If the keys are really invalid, the plugin will let you in, so you can set up a
92
- new keypair.
93
-
94
- When you see "Invalid domain for site key", then the key is okay in general, but not for
95
- your domain. The server can not test this case, so an effective lockout prevention is not
96
- possible.
97
-
98
- You will either need one of the following:
99
- - access to the settings for your sitekey on [reCaptcha API key administration](https://www.google.com/recaptcha/admin#list)
100
- - access to your WordPress installation (via SSH or FTP) or database access
101
- - database access
102
-
103
-
104
- **With API key admin**
105
-
106
- 1. Look at source code of the login page.
107
-
108
- 2. Find the part saying <code>data-sitekey="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"</code>
109
- (The XXX-part should be your sitekey.)
110
-
111
- 3. Go to the [Google reCaptcha API key administration](https://www.google.com/recaptcha/admin#list)
112
-
113
- 4. Find the list entry with the sitekey from step 2
114
-
115
- 5. If lockout prevention is enabled you can simply delete the key set up a new one.
116
- If not enter your domain name at "Domains" in a new line and wait up to 30 minutes.
117
-
118
-
119
- **With FTP Access:**
120
-
121
- 1. Add this line of Code somewhere at the end of your theme functions.php:
122
- <code>add_filter('wp_recaptcha_required','__return_false');</code>
123
-
124
- This will disable the chaptcha everywhere.
125
-
126
- 2. Set up a new keypair and test it.
127
-
128
- 3. Remove the line above from your theme functions.php.
129
-
130
-
131
- **If you have Database access**
132
-
133
- 1. Execute the following SQL-Commands in your Database:
134
- <code>DELETE FROM wp_options WHERE option_name = 'recaptcha_publickey';</code>
135
- <code>DELETE FROM wp_options WHERE option_name = 'recaptcha_privatekey';</code>
136
-
137
- (Please note that `wp_options` might have a different prefix in your installation.)
138
-
139
- 2. After the login you will see a message asking you to set up the API keys.
140
-
141
- 3. Set up a new keypair on Google and test it.
142
-
143
-
144
- **If none of these works for you**
145
-
146
- That's too bad...
147
-
148
-
149
- = I can't get it to work with my custom comments form. Will you fix for me? =
150
-
151
- Nope. I cannot give support on your individual projects for free, no matter how many one
152
- star reviews you will give me. Have a look at the project wiki or find a WordPress coder.
153
-
154
-
155
- = Privacy: Will the captcha send the visitors IP address to google? =
156
-
157
- Yes and no. The captcha verification process, comming into effect after the user has solved
158
- the challenge does not require the disclosure of the visitors IP address, so it is omitted.
159
-
160
- But everything related to the displaying of the captcha widget like the challenge image,
161
- the JavaScripts and so on is loaded directly from Google and is very likely to be logged,
162
- evaluated and stored forever.
163
-
164
- In other words: Google knows which (recaptcha protected) website is accessed from which IP.
165
-
166
- If that's an issue for you, you better use a self hosted solution.
167
-
168
-
169
- = Will you support plugin XYZ? =
170
-
171
- If XYZ stands for a widely used free and OpenSource plugin in active development with some
172
- 100k+ downloads I will give it a try. Just ask.
173
-
174
- If XYZ is some rarely used plugin (about 1k+ active installs or so), I will accept pull
175
- requests on github and push it to the WP repository. Please note that in such cases I will
176
- not feel responsible for code maintainance.
177
-
178
-
179
- = The captcha does not show up. What’s wrong? =
180
-
181
- On the plugin settings page check out if the option “Disable for known users” is activated (it is by default).
182
- Then log out (or open your page in a private browser window) and try again.
183
-
184
- If only the comment form is affected, it is very likely that your Theme does not use the
185
- `comment_form_defaults` filter. (That‘s where I add the captcha HTML, to make it appear
186
- right before the submit button.) You will have to use another hook, e.g. `comment_form_after_fields`.
187
-
188
- Here is some code that will fix it:
189
-
190
- - Go to (https://gist.github.com/mcguffin/97d7f442ee3e92b7412e)
191
- - Click the "Download Gist" button
192
- - Unpack the `.tar.gz` file.
193
- - Create a zip Archive out of the included file `recaptcha-comment-form-fix.php` and name it `recaptcha-comment-form-fix.zip`.
194
- - Install and activate it like any other WordPress plugin
195
-
196
- If the problem still persist, Houston really has a problem, and you are welcome to post a support request.
197
-
198
-
199
- = Disabled submit buttons should be grey! Why aren't they? =
200
-
201
- Very likely the Author of your Theme didn't care that a non functinal form element should
202
- look different than a functional one. This how you can overcome that issue:
203
-
204
- - Go to (https://gist.github.com/mcguffin/7cbfb0dab73eb32cb4a2)
205
- - Click the "Download Gist" button
206
- - Unpack the `.tar.gz` file.
207
- - Create a zip Archive out of the included file `grey-out-disabled.php` and name it `grey-out-disabled.zip`.
208
- - Install and activate it like any other WordPress plugin
209
-
210
-
211
- = I want my visitors to solve only one Captcha and then never again. Is that possible? =
212
-
213
- Yes. You can store in a session if a captcha was solved, and use the `wp_recaptcha_required`
214
- filter to supress further captchas. See (https://github.com/mcguffin/wp-recaptcha-integration#real-world-example)
215
- for a code example.
216
-
217
-
218
- = I found a bug. Where should I post it? =
219
-
220
- I personally prefer GitHub but you can post it in the forum as well. The plugin code is here: [GitHub](https://github.com/mcguffin/wp-recaptcha-integration)
221
-
222
-
223
- = I want to use the latest files. How can I do this? =
224
-
225
- Use the GitHub Repo rather than the WordPress Plugin. Do as follows:
226
-
227
- 1. If you haven't already done: [Install git](https://help.github.com/articles/set-up-git)
228
-
229
- 2. in the console cd into Your 'wp-content/plugins´ directory
230
-
231
- 3. type `git clone git@github.com:mcguffin/wp-recaptcha-integration.git`
232
-
233
- 4. If you want to update to the latest files (be careful, might be untested with your WP-Version) type `git pull.
234
-
235
- Please note that the GitHub repository is more likely to contain unstable and untested code. Urgent fixes
236
- concerning stability or security (like crashes, vulnerabilities and alike) are more likely to be fixed in
237
- the official WP plugin repository first.
238
-
239
-
240
- = I found a bug and fixed it. How can I contribute? =
241
-
242
- Either post it on [GitHub](https://github.com/mcguffin/wp-recaptcha-integration) or—if you are working on a forked repository—send me a pull request.
243
-
244
-
245
- = Will you accept translations? =
246
-
247
- Since late 2015 WordPress.org offers a plugin translation API. Just use the
248
- "Translate this plugin" button in the right sidebar.
249
-
250
-
251
- == Screenshots ==
252
-
253
- 1. Plugin Settings (v 1.1.4)
254
- 2. Ninja Form Integration
255
- 3. Contact Form 7 Integration
256
-
257
-
258
- == Changelog ==
259
-
260
- = 1.2.1 =
261
- - Drop most of Contact form 7 and Ninja Forms support. (Both have their own recaptcha now)
262
- - Register Form compatibility with WooCommerce 3.0+ Thanks to [ywatt](https://github.com/ingomarent) and [MrFent37](https://wordpress.org/support/users/mrfent37/)
263
- - Fix WSOD
264
-
265
- = 1.2.0 =
266
- - Support [cformsII](https://wordpress.org/plugins/cforms2/) (thanks to [Bastian Germann](https://github.com/bgermann))
267
- - Support for Password Reset Protection for older woocommerce Versions [ingomarent](https://github.com/ingomarent)
268
- - L10n: Czech (thanks to [František Zatloukal](https://github.com/frantisekz))
269
- - Fix potential PHP Warnngs (thanks to [Gennady Kovshenin](https://github.com/soulseekah))
270
-
271
- = 1.1.11 =
272
- - Code: Move plugin main class to include directory
273
- - Update: Disable 2.0 updates on PHP < 5.4
274
-
275
- = 1.1.10 =
276
- - Feature: Changed Contact Form 7 support: As of version 4.3 CF7 comes with its own recaptcha. The plugin now just makes sure both captchas work together. It also keeps the API keys in sync.
277
- - Fix: Disable Captcha for logged in users now respects custom roles without read capability. (Thanks to [@lainme](https://github.com/lainme))
278
-
279
- = 1.1.9 =
280
- - Fix: Layout issues on recaptcha nojs fallback (thanks to [nurupo](https://github.com/nurupo))
281
- - Metadata: add plugin textdomain
282
-
283
- = 1.1.8 =
284
- - Feature: Support AwesomeSupport
285
- - Feature: Support bbPress new Topics and posts
286
- - L10n: italian
287
- - Fix: Layout issue on theme twenty fifteen (recaptcha)
288
-
289
- = 1.1.7 =
290
- - Fix: Compatibility with CF7 4.2 User Interface
291
-
292
- = 1.1.6 =
293
- - Fix: Skip Ninja Forms required check
294
-
295
- = 1.1.5 =
296
- - Feature: Noscript fallback option for noCaptcha
297
- - Feature: Option for WP 4.2 compatible hook on comment form.
298
- - Fix: Remove automatic key testing in Backend.
299
- - L10n: Improved de_DE ([thx @quassy](https://github.com/quassy))
300
- - L10n: Updated pt_BR ([thx again man](http://www.viniciusferraz.com))
301
-
302
- = 1.1.4 =
303
- - Comments: get back to `comment_form_defaults` filter (was introduced in 1.1.3)
304
- - Fix: Get key option
305
- - Fix: Key testing return value
306
-
307
- = 1.1.3 =
308
- - Comments: use filter `comment_form_submit_button` in WP >= 4.2
309
- - WooCommerce: Add action listener to `woocommerce_lostpassword_form` (probably functional in WC 2.3.8).
310
- - Introduce `{$feature}recaptcha_html` filters for custom form integration.
311
- - Introduce filter `wp_recaptcha_cf7_shortcode_wrap`.
312
-
313
- = 1.1.2 =
314
- - Fix: Was not possible to uncheck lockout setting.
315
- - Fix: Potential JS error when 'Disable Submit Buttons' was enabled.
316
-
317
- = 1.1.1 =
318
- - Filter: `wp_recaptcha_do_scripts` allow disabling recaptcha scripts on certain pages.
319
- - Filter: `wp_recaptcha_print_login_css`, allow disabling login CSS.
320
- - Fix: Didn't render with Submit Button Disabling checked
321
- - Fix: Use `add_query_arg()` to generate recaptcha API URL
322
-
323
- = 1.1.0 =
324
- - Feature: Prevent Lockout - Admins can still log in when the API keys are invalid
325
- - Feature: Customize error message on contact form 7 and ninja forms
326
- - Filters: add actions `recaptcha_print`, `print_comments_recaptcha` and filters `recaptcha_valid`, `recaptcha_error` for custom forms.
327
- - Redesign: settings page
328
- - Fix: woocommerce checkout form: fix unnecessary captcha test on new customer registration
329
- - Fix: settings: testing keys for multiple times
330
- - Fix: settings: key setup -> cancel button target
331
- - Fix: settings: test keys only with a nocaptcha
332
-
333
- = 1.0.9 =
334
- - Fix: Preserve PHP 5.2 compatibility
335
-
336
- = 1.0.8 =
337
- - Feature: Individually set captcha theme in CF7 and Ninja forms (NoCaptcha only, old recaptcha not supported)
338
- - Fix: PHP Warning in settings.
339
- - Fix: PHP Fatal when check a old reCaptcha.
340
- - Fix: js error with jQuery not present
341
- - Fix: woocommerce checkout
342
- - L10n: add Spanish
343
-
344
- = 1.0.7 =
345
- - Fix: Fatal error in settings
346
- - Fix: messed up HTML comments
347
- - Code: Put NinjaForms + CF7 handling into singletons
348
-
349
- = 1.0.6 =
350
- - Code: separate classes for recaptcha / nocaptcha
351
- - Code: Class autoloader
352
- - Fix: avoid double verification
353
- - Fix: CF7 4.1 validation
354
-
355
- = 1.0.5 =
356
- - Add Language option
357
- - Brasilian Portuguese localization
358
- - Fix: conditionally load recaptcha lib.
359
- - Fix: js error after cf7 validation error.
360
-
361
- = 1.0.4 =
362
- - Add WooCommerce Support (checkout page)
363
- - Multisite: protect signup form as well.
364
- - Reset noCaptcha after ajax calls (enhance compatibility with Comment Form Ajax plugin)
365
- - Fix: incorrect redirect after saving Network settings
366
-
367
- = 1.0.3 =
368
- - Add BuddyPress support
369
- - Action hook for wp_recaptcha_checked
370
- - NoCaptcha: add non-js fallback.
371
- - Code: pass `WP_Error` to `wp_die()` when comment captcha fails.
372
- - Code: Rename filters recaptcha_required &gt; wp_recaptcha_required and recaptcha_disabled_html &gt; wp_recaptcha_disabled_html
373
- - Happy New Year!
374
-
375
- = 1.0.2 =
376
- - Feature: option to disable submit button, until the captcha is solved
377
- - Rearrange comment form (put captcha above submit button)
378
- - Fix: NoCaptcha did not refresh after submitting invalid ninja form via ajax
379
-
380
- = 1.0.1 =
381
- - Fix API Key test
382
- - Fix theme select
383
-
384
- = 1.0.0 =
385
- - Allow more than one no Captcha per page
386
- - Test captcha verification in Settings
387
- - Multisite support.
388
-
389
- = 0.9.1 =
390
- - Add testing tool for checking the api key.
391
- - Fixes
392
-
393
- = 0.9.0 =
394
- Initial Release
395
-
396
- == Plugin API ==
397
-
398
- The plugin offers some filters to allow themes and other plugins to hook in.
399
-
400
- See [GitHub-Repo](https://github.com/mcguffin/wp-recaptcha-integration) for details.
 
 
 
1
+ === WordPress ReCaptcha Integration ===
2
+ Contributors: podpirate
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F8NKC6TCASUXE
4
+ Tags: security, captcha, recaptcha, no captcha, login, signup, contact form 7, ninja forms, woocommerce
5
+ Requires at least: 3.8
6
+ Tested up to: 4.8
7
+ Stable tag: 1.2.2
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ reCaptcha for login, signup, comment forms, Ninja Forms and woocommerce.
12
+
13
+ == Description ==
14
+
15
+ Integrate reCaptcha in your blog. Supports no Captcha as well as old style recaptcha.
16
+ Provides of the box integration for signup, login, comment formsand Ninja Forms as well
17
+ as a plugin API for your own integrations.
18
+
19
+ = Features: =
20
+ - Secures login, signup und comments with a recaptcha.
21
+ - Supports old as well as new reCaptcha.
22
+ - Works together with
23
+ - WP Multisite
24
+ - bbPress (thanks to [Tareq Hasan](http://tareq.wedevs.com/)
25
+ - BuddyPress
26
+ - AwesomeSupport (thanks to [Julien Liabeuf](http://julienliabeuf.com/)
27
+ - WooCommerce (Only checkout, registration and login form. Not password reset)
28
+ - [Ninja Forms](http://ninjaforms.com/)
29
+ - cformsII
30
+
31
+ - For integration in your self-coded forms see this [wiki article](https://github.com/mcguffin/wp-recaptcha-integration/wiki/Custom-Themes-and-Forms) for details.
32
+
33
+ = Localizations =
34
+ - Brazilian Portuguese (thanks to [Vinícius Ferraz](http://www.viniciusferraz.com))
35
+ - Spanish (thanks to [Ivan Yivoff](https://github.com/yivi))
36
+ - Italian (thanks to [Salaros](http://blog.salaros.com/))
37
+ - German
38
+
39
+ Latest Files on GitHub: [https://github.com/mcguffin/wp-recaptcha-integration](https://github.com/mcguffin/wp-recaptcha-integration)
40
+
41
+ = Compatibility =
42
+
43
+ On a **WP Multisite** you can either activate the plugin network wide or on a single site.
44
+
45
+ Activated on a single site everything works as usual.
46
+
47
+ With network activation entering the API key and setting up where a captcha is required
48
+ is up to the network admin. A blog admin can override the API key e.g. when his blog is
49
+ running under his/her own domain name.
50
+
51
+
52
+ = Known Limitations =
53
+ - You can't have more than one old style reCaptcha on a page. This is a limitiation of
54
+ reCaptcha itself. If that's an issue for you, you should use the no Captcha Form.
55
+
56
+ - A No Captcha definitely requires client side JavaScript enabled. That's how it does its
57
+ sophisticated bot detection magic. There is no fallback. If your visitor does not have
58
+ JS enabled the captcha test will not let him through.
59
+
60
+ - On a **Contact Form 7** when the reCaptcha is disabled (e.g. for logged in users) the field
61
+ label will be still visible. This is due to CF7 Shortcode architecture, and can't be fixed.
62
+
63
+ To handle this there is a filter `recaptcha_disabled_html`. You can return a message for your logged-in
64
+ users here. Check out the [GitHub Repo](https://github.com/mcguffin/wp-recaptcha-integration) for details.
65
+
66
+ - As of version 4.3 CF7 comes with its own recaptcha. Both are supposed to work together.
67
+ I you want to keep the WP ReCaptcha functionality, e.g. if you want to hide the captcha
68
+ from known users, leave the integration in the CF7 settings unconfigured.
69
+
70
+ - Old style reCaptcha does not work together with **WooCommerce**.
71
+
72
+ - In **WooCommerce** the reset password form can not be protected by a captcha. Woocommerce does
73
+ not fire any action in the lost password form, so there is no way for the plugin to hook in.
74
+ Take a look at [this thread](https://wordpress.org/support/topic/captcha-not-showing-on-lost-password-page?replies=7) for a workaround.
75
+
76
+ - Due to a lack of filters there is no (and as far as one can see, there will never be)
77
+ support for the **MailPoet** subscription form.
78
+
79
+ == Installation ==
80
+
81
+ First follow the standard [WordPress plugin installation procedere](http://codex.wordpress.org/Managing_Plugins).
82
+
83
+ Then go to the [Google Recaptcha Site](http://www.google.com/recaptcha), register your site and enter your API-Keys on the configuration page.
84
+
85
+ == Frequently asked questions ==
86
+
87
+ = The login captcha says 'ERROR: (something somthing)'. What can I do? =
88
+
89
+ If it says 'Invalid sitekey' and you checked the 'Prevent lockout' option on the plugin
90
+ settings (it's on by default) you can log in with an administrator account and ignore the
91
+ captcha. If the keys are really invalid, the plugin will let you in, so you can set up a
92
+ new keypair.
93
+
94
+ When you see "Invalid domain for site key", then the key is okay in general, but not for
95
+ your domain. The server can not test this case, so an effective lockout prevention is not
96
+ possible.
97
+
98
+ You will either need one of the following:
99
+ - access to the settings for your sitekey on [reCaptcha API key administration](https://www.google.com/recaptcha/admin#list)
100
+ - access to your WordPress installation (via SSH or FTP) or database access
101
+ - database access
102
+
103
+
104
+ **With API key admin**
105
+
106
+ 1. Look at source code of the login page.
107
+
108
+ 2. Find the part saying <code>data-sitekey="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"</code>
109
+ (The XXX-part should be your sitekey.)
110
+
111
+ 3. Go to the [Google reCaptcha API key administration](https://www.google.com/recaptcha/admin#list)
112
+
113
+ 4. Find the list entry with the sitekey from step 2
114
+
115
+ 5. If lockout prevention is enabled you can simply delete the key set up a new one.
116
+ If not enter your domain name at "Domains" in a new line and wait up to 30 minutes.
117
+
118
+
119
+ **With FTP Access:**
120
+
121
+ 1. Add this line of Code somewhere at the end of your theme functions.php:
122
+ <code>add_filter('wp_recaptcha_required','__return_false');</code>
123
+
124
+ This will disable the chaptcha everywhere.
125
+
126
+ 2. Set up a new keypair and test it.
127
+
128
+ 3. Remove the line above from your theme functions.php.
129
+
130
+
131
+ **If you have Database access**
132
+
133
+ 1. Execute the following SQL-Commands in your Database:
134
+ <code>DELETE FROM wp_options WHERE option_name = 'recaptcha_publickey';</code>
135
+ <code>DELETE FROM wp_options WHERE option_name = 'recaptcha_privatekey';</code>
136
+
137
+ (Please note that `wp_options` might have a different prefix in your installation.)
138
+
139
+ 2. After the login you will see a message asking you to set up the API keys.
140
+
141
+ 3. Set up a new keypair on Google and test it.
142
+
143
+
144
+ **If none of these works for you**
145
+
146
+ That's too bad...
147
+
148
+
149
+ = I can't get it to work with my custom comments form. Will you fix for me? =
150
+
151
+ Nope. I cannot give support on your individual projects for free, no matter how many one
152
+ star reviews you will give me. Have a look at the project wiki or find a WordPress coder.
153
+
154
+
155
+ = Privacy: Will the captcha send the visitors IP address to google? =
156
+
157
+ Yes and no. The captcha verification process, comming into effect after the user has solved
158
+ the challenge does not require the disclosure of the visitors IP address, so it is omitted.
159
+
160
+ But everything related to the displaying of the captcha widget like the challenge image,
161
+ the JavaScripts and so on is loaded directly from Google and is very likely to be logged,
162
+ evaluated and stored forever.
163
+
164
+ In other words: Google knows which (recaptcha protected) website is accessed from which IP.
165
+
166
+ If that's an issue for you, you better use a self hosted solution.
167
+
168
+
169
+ = Will you support plugin XYZ? =
170
+
171
+ If XYZ stands for a widely used free and OpenSource plugin in active development with some
172
+ 100k+ downloads I will give it a try. Just ask.
173
+
174
+ If XYZ is some rarely used plugin (about 1k+ active installs or so), I will accept pull
175
+ requests on github and push it to the WP repository. Please note that in such cases I will
176
+ not feel responsible for code maintainance.
177
+
178
+
179
+ = The captcha does not show up. What’s wrong? =
180
+
181
+ On the plugin settings page check out if the option “Disable for known users” is activated (it is by default).
182
+ Then log out (or open your page in a private browser window) and try again.
183
+
184
+ If only the comment form is affected, it is very likely that your Theme does not use the
185
+ `comment_form_defaults` filter. (That‘s where I add the captcha HTML, to make it appear
186
+ right before the submit button.) You will have to use another hook, e.g. `comment_form_after_fields`.
187
+
188
+ Here is some code that will fix it:
189
+
190
+ - Go to (https://gist.github.com/mcguffin/97d7f442ee3e92b7412e)
191
+ - Click the "Download Gist" button
192
+ - Unpack the `.tar.gz` file.
193
+ - Create a zip Archive out of the included file `recaptcha-comment-form-fix.php` and name it `recaptcha-comment-form-fix.zip`.
194
+ - Install and activate it like any other WordPress plugin
195
+
196
+ If the problem still persist, Houston really has a problem, and you are welcome to post a support request.
197
+
198
+
199
+ = Disabled submit buttons should be grey! Why aren't they? =
200
+
201
+ Very likely the Author of your Theme didn't care that a non functinal form element should
202
+ look different than a functional one. This how you can overcome that issue:
203
+
204
+ - Go to (https://gist.github.com/mcguffin/7cbfb0dab73eb32cb4a2)
205
+ - Click the "Download Gist" button
206
+ - Unpack the `.tar.gz` file.
207
+ - Create a zip Archive out of the included file `grey-out-disabled.php` and name it `grey-out-disabled.zip`.
208
+ - Install and activate it like any other WordPress plugin
209
+
210
+
211
+ = I want my visitors to solve only one Captcha and then never again. Is that possible? =
212
+
213
+ Yes. You can store in a session if a captcha was solved, and use the `wp_recaptcha_required`
214
+ filter to supress further captchas. See (https://github.com/mcguffin/wp-recaptcha-integration#real-world-example)
215
+ for a code example.
216
+
217
+
218
+ = I found a bug. Where should I post it? =
219
+
220
+ I personally prefer GitHub but you can post it in the forum as well. The plugin code is here: [GitHub](https://github.com/mcguffin/wp-recaptcha-integration)
221
+
222
+
223
+ = I want to use the latest files. How can I do this? =
224
+
225
+ Use the GitHub Repo rather than the WordPress Plugin. Do as follows:
226
+
227
+ 1. If you haven't already done: [Install git](https://help.github.com/articles/set-up-git)
228
+
229
+ 2. in the console cd into Your 'wp-content/plugins´ directory
230
+
231
+ 3. type `git clone git@github.com:mcguffin/wp-recaptcha-integration.git`
232
+
233
+ 4. If you want to update to the latest files (be careful, might be untested with your WP-Version) type `git pull.
234
+
235
+ Please note that the GitHub repository is more likely to contain unstable and untested code. Urgent fixes
236
+ concerning stability or security (like crashes, vulnerabilities and alike) are more likely to be fixed in
237
+ the official WP plugin repository first.
238
+
239
+
240
+ = I found a bug and fixed it. How can I contribute? =
241
+
242
+ Either post it on [GitHub](https://github.com/mcguffin/wp-recaptcha-integration) or—if you are working on a forked repository—send me a pull request.
243
+
244
+
245
+ = Will you accept translations? =
246
+
247
+ Since late 2015 WordPress.org offers a plugin translation API. Just use the
248
+ "Translate this plugin" button in the right sidebar.
249
+
250
+
251
+ == Screenshots ==
252
+
253
+ 1. Plugin Settings (v 1.1.4)
254
+ 2. Ninja Form Integration
255
+ 3. Contact Form 7 Integration
256
+
257
+
258
+ == Changelog ==
259
+
260
+ = 1.2.2 =
261
+ - End-of-Life!
262
+
263
+ = 1.2.1 =
264
+ - Drop most of Contact form 7 and Ninja Forms support. (Both have their own recaptcha now)
265
+ - Register Form compatibility with WooCommerce 3.0+ Thanks to [ywatt](https://github.com/ingomarent) and [MrFent37](https://wordpress.org/support/users/mrfent37/)
266
+ - Fix WSOD
267
+
268
+ = 1.2.0 =
269
+ - Support [cformsII](https://wordpress.org/plugins/cforms2/) (thanks to [Bastian Germann](https://github.com/bgermann))
270
+ - Support for Password Reset Protection for older woocommerce Versions [ingomarent](https://github.com/ingomarent)
271
+ - L10n: Czech (thanks to [František Zatloukal](https://github.com/frantisekz))
272
+ - Fix potential PHP Warnngs (thanks to [Gennady Kovshenin](https://github.com/soulseekah))
273
+
274
+ = 1.1.11 =
275
+ - Code: Move plugin main class to include directory
276
+ - Update: Disable 2.0 updates on PHP < 5.4
277
+
278
+ = 1.1.10 =
279
+ - Feature: Changed Contact Form 7 support: As of version 4.3 CF7 comes with its own recaptcha. The plugin now just makes sure both captchas work together. It also keeps the API keys in sync.
280
+ - Fix: Disable Captcha for logged in users now respects custom roles without read capability. (Thanks to [@lainme](https://github.com/lainme))
281
+
282
+ = 1.1.9 =
283
+ - Fix: Layout issues on recaptcha nojs fallback (thanks to [nurupo](https://github.com/nurupo))
284
+ - Metadata: add plugin textdomain
285
+
286
+ = 1.1.8 =
287
+ - Feature: Support AwesomeSupport
288
+ - Feature: Support bbPress new Topics and posts
289
+ - L10n: italian
290
+ - Fix: Layout issue on theme twenty fifteen (recaptcha)
291
+
292
+ = 1.1.7 =
293
+ - Fix: Compatibility with CF7 4.2 User Interface
294
+
295
+ = 1.1.6 =
296
+ - Fix: Skip Ninja Forms required check
297
+
298
+ = 1.1.5 =
299
+ - Feature: Noscript fallback option for noCaptcha
300
+ - Feature: Option for WP 4.2 compatible hook on comment form.
301
+ - Fix: Remove automatic key testing in Backend.
302
+ - L10n: Improved de_DE ([thx @quassy](https://github.com/quassy))
303
+ - L10n: Updated pt_BR ([thx again man](http://www.viniciusferraz.com))
304
+
305
+ = 1.1.4 =
306
+ - Comments: get back to `comment_form_defaults` filter (was introduced in 1.1.3)
307
+ - Fix: Get key option
308
+ - Fix: Key testing return value
309
+
310
+ = 1.1.3 =
311
+ - Comments: use filter `comment_form_submit_button` in WP >= 4.2
312
+ - WooCommerce: Add action listener to `woocommerce_lostpassword_form` (probably functional in WC 2.3.8).
313
+ - Introduce `{$feature}recaptcha_html` filters for custom form integration.
314
+ - Introduce filter `wp_recaptcha_cf7_shortcode_wrap`.
315
+
316
+ = 1.1.2 =
317
+ - Fix: Was not possible to uncheck lockout setting.
318
+ - Fix: Potential JS error when 'Disable Submit Buttons' was enabled.
319
+
320
+ = 1.1.1 =
321
+ - Filter: `wp_recaptcha_do_scripts` allow disabling recaptcha scripts on certain pages.
322
+ - Filter: `wp_recaptcha_print_login_css`, allow disabling login CSS.
323
+ - Fix: Didn't render with Submit Button Disabling checked
324
+ - Fix: Use `add_query_arg()` to generate recaptcha API URL
325
+
326
+ = 1.1.0 =
327
+ - Feature: Prevent Lockout - Admins can still log in when the API keys are invalid
328
+ - Feature: Customize error message on contact form 7 and ninja forms
329
+ - Filters: add actions `recaptcha_print`, `print_comments_recaptcha` and filters `recaptcha_valid`, `recaptcha_error` for custom forms.
330
+ - Redesign: settings page
331
+ - Fix: woocommerce checkout form: fix unnecessary captcha test on new customer registration
332
+ - Fix: settings: testing keys for multiple times
333
+ - Fix: settings: key setup -> cancel button target
334
+ - Fix: settings: test keys only with a nocaptcha
335
+
336
+ = 1.0.9 =
337
+ - Fix: Preserve PHP 5.2 compatibility
338
+
339
+ = 1.0.8 =
340
+ - Feature: Individually set captcha theme in CF7 and Ninja forms (NoCaptcha only, old recaptcha not supported)
341
+ - Fix: PHP Warning in settings.
342
+ - Fix: PHP Fatal when check a old reCaptcha.
343
+ - Fix: js error with jQuery not present
344
+ - Fix: woocommerce checkout
345
+ - L10n: add Spanish
346
+
347
+ = 1.0.7 =
348
+ - Fix: Fatal error in settings
349
+ - Fix: messed up HTML comments
350
+ - Code: Put NinjaForms + CF7 handling into singletons
351
+
352
+ = 1.0.6 =
353
+ - Code: separate classes for recaptcha / nocaptcha
354
+ - Code: Class autoloader
355
+ - Fix: avoid double verification
356
+ - Fix: CF7 4.1 validation
357
+
358
+ = 1.0.5 =
359
+ - Add Language option
360
+ - Brasilian Portuguese localization
361
+ - Fix: conditionally load recaptcha lib.
362
+ - Fix: js error after cf7 validation error.
363
+
364
+ = 1.0.4 =
365
+ - Add WooCommerce Support (checkout page)
366
+ - Multisite: protect signup form as well.
367
+ - Reset noCaptcha after ajax calls (enhance compatibility with Comment Form Ajax plugin)
368
+ - Fix: incorrect redirect after saving Network settings
369
+
370
+ = 1.0.3 =
371
+ - Add BuddyPress support
372
+ - Action hook for wp_recaptcha_checked
373
+ - NoCaptcha: add non-js fallback.
374
+ - Code: pass `WP_Error` to `wp_die()` when comment captcha fails.
375
+ - Code: Rename filters recaptcha_required &gt; wp_recaptcha_required and recaptcha_disabled_html &gt; wp_recaptcha_disabled_html
376
+ - Happy New Year!
377
+
378
+ = 1.0.2 =
379
+ - Feature: option to disable submit button, until the captcha is solved
380
+ - Rearrange comment form (put captcha above submit button)
381
+ - Fix: NoCaptcha did not refresh after submitting invalid ninja form via ajax
382
+
383
+ = 1.0.1 =
384
+ - Fix API Key test
385
+ - Fix theme select
386
+
387
+ = 1.0.0 =
388
+ - Allow more than one no Captcha per page
389
+ - Test captcha verification in Settings
390
+ - Multisite support.
391
+
392
+ = 0.9.1 =
393
+ - Add testing tool for checking the api key.
394
+ - Fixes
395
+
396
+ = 0.9.0 =
397
+ Initial Release
398
+
399
+ == Plugin API ==
400
+
401
+ The plugin offers some filters to allow themes and other plugins to hook in.
402
+
403
+ See [GitHub-Repo](https://github.com/mcguffin/wp-recaptcha-integration) for details.
wp-recaptcha-integration.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  Plugin Name: WP reCaptcha Integration
4
  Plugin URI: https://wordpress.org/plugins/wp-recaptcha-integration/
5
- Description: Integrate reCaptcha in your blog. Supports no Captcha (new style recaptcha). Provides of the box integration for signup, login, comment forms and lost password.
6
- Version: 1.2.1
7
  Author: Jörn Lund
8
  Author URI: https://github.com/mcguffin/
9
  Text Domain: wp-recaptcha-integration
@@ -53,5 +53,27 @@ add_filter('site_transient_update_plugins', 'wp_recaptcha_disable_updates');
53
  WP_reCaptcha::instance();
54
 
55
 
56
- if ( is_admin() )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  WP_reCaptcha_Options::instance();
 
2
  /*
3
  Plugin Name: WP reCaptcha Integration
4
  Plugin URI: https://wordpress.org/plugins/wp-recaptcha-integration/
5
+ Description: <strong>PLUGIN ABANDONED!</strong> Integrate reCaptcha in your blog. Supports no Captcha (new style recaptcha). Provides of the box integration for signup, login, comment forms and lost password.
6
+ Version: 1.2.2
7
  Author: Jörn Lund
8
  Author URI: https://github.com/mcguffin/
9
  Text Domain: wp-recaptcha-integration
53
  WP_reCaptcha::instance();
54
 
55
 
56
+ function wp_recaptcha_deprecation_notice() {
57
+ /*
58
+ '<tr class="plugin-update-tr%s" id="%s" data-slug="%s" data-plugin="%s">' .
59
+
60
+ */
61
+ ?>
62
+ <tr class="plugin-update-tr active" >
63
+ <td class="plugin-update colspanchange" colspan="3" style="position:relative;top:-1px;">
64
+ <div class="notice notice-error notice-alt inline">
65
+ <p>
66
+ <span class="dashicons dashicons-warning"></span>
67
+ <strong><?php esc_html_e('Warning:','wp-recaptcha-integration'); ?></strong>
68
+ <?php esc_html_e('“WP reCaptcha Integration” is no longer maintained. It may disappear without further notice.','wp-recaptcha-integration'); ?>
69
+ </p>
70
+ </div>
71
+ </td>
72
+ </tr>
73
+ <?php
74
+ }
75
+
76
+ if ( is_admin() ) {
77
+ add_action('after_plugin_row_wp-recaptcha-integration/wp-recaptcha-integration.php','wp_recaptcha_deprecation_notice');
78
  WP_reCaptcha_Options::instance();
79
+ }