Skip to content

WordPress plugin for Google's reCAPTCHA v2 and v3.

License

Notifications You must be signed in to change notification settings

CruelDrool/WP-reCAPTCHA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reCAPTCHA plugin for WordPress

This is a fork of Shamim Hasan's Advanced noCaptcha & invisible Captcha version 6.1.5. However, it has been almost completly rewritten with these goals in mind:

Currently, this plugin is only available here on GitHub. Once installed, however, WordPress will still be able to update it from this repository. This is because in WordPress 5.8 a new plugin header called Update URI was introduced.

Requirements

WordPress >= 5.8 (lower may work just fine, but no support for updating from the repository)

PHP >= 7.1

Features

  • Switch between reCAPTCHA versions easily.
    • Each set of keys are tied to the selected version.
    • Custom error message for each version.
  • Select the widget's colour theme: Light, Dark or Automatic
    • Automatic will set theme based on the background colour's brightness.
  • Choose which request domain to use.
    • google.com
    • recaptcha.net
  • Verify origin of solutions, if you've opted not to have Google do it.
  • Hide for logged in users.
  • Set which language to display the widget in.
  • Require that the client's IP address has been determined before submitting data to the reCAPTCHA server.
  • Logging.
    • Log reCAPTCHA's JSON response data.
      • Add client's IP address to the data.
    • Debug logging.
      • Have a separate file from WordPress' /wp-content/debug.log.
      • Set a minimum required severity level that messages must have for them to be written to the log.
    • Rotate interval: never, daily, monthly, yearly. Uses UTC/GMT time with a ISO 8601 date format.
    • Specify a directory where to store the log files.

reCAPTCHA versions

v2 "I'm not a robot" Checkbox

  • Select size: Normal or Compact or Automatic.
    • Automatic will set size to Compact if screen/area is too narrow for Normal.

v2 Invisible

  • Select placement of the widget: Bottom Right, Bottom Left, Inline or Automatic.
    • Automatic will set placement based on a page's text direction. (Left-to-Right: Bottom Right, Right-to-Left: Bottom Left).

v3

  • Select placement of the widget: Bottom Right, Bottom Left, Inline or Automatic.
    • Automatic will set placement based on a page's text direction. (Left-to-Right: Bottom Right, Right-to-Left: Bottom Left).
  • Load on all pages or just form pages.
  • Actions and thresholds for all supported forms.
    • Custom action names.

Forms

  • Login.
  • Registration. (Only available in a single site installation.)
  • Multisite User Signup. (Only available on the main site in a multisite installation.)
  • Lost Password.
  • Reset Password.
  • Comment.

Languages

  • English (US, GB).
  • Norwegian (bokmål).

Multisite

When network activated in a multisite installation the following happens:

  • The plugin's settings will only be available to the Super Admin in the Network Admin.
  • In the database the settings will be stored the wp_sitemeta table. This is separate from any sub-sites' settings, which are stored in wp_<siteID>_options.
  • Settings set by the Super Admin will apply across all sites.