ssnepenthe/recaptcha-for-wp
Composer 安装命令:
composer require ssnepenthe/recaptcha-for-wp
包简介
Invisible reCAPTCHA integration for the WordPress login.
README 文档
README
Invisible reCAPTCHA integration for the WordPress login.
Requirements
WordPress 4.7 or later, PHP 5.4 or later and Composer.
Installation
$ composer require ssnepenthe/recaptcha-for-wp
OR
$ cd /path/to/project/wp-content/plugins
$ git clone git@github.com:ssnepenthe/recaptcha-for-wp.git
$ cd recaptcha-for-wp
$ composer install
Usage
To use this plugin you must provide API keys from reCAPTCHA.
First sign up for reCAPTCHA, register your site for Invisible reCAPTCHA and get your keys.
Then activate the plugin and provide your keys under settings > reCAPTCHA.
That's it! Invisible reCAPTCHA is automatically enabled for the login, lost password and registration forms.
Configuration
Plugin settings can be overridden via the following constants:
RFW_LOGIN: whether to integrate reCAPTCHA with the login form. Must be a string, "1" (for enabled) or "0" (for disabled).
RFW_LOSTPASSWORD: whether to integrate reCAPTCHA with the lost password form. Must be a string, "1" (for enabled) or "0" (for disabled).
RFW_REGISTRATION: whether to integrate reCAPTCHA with the registration form. Must be a string, "1" (for enabled) or "0" (for disabled).
RFW_SECRET_KEY: the "secret" API key provided by reCAPTCHA. Must be a string.
RFW_SITE_KEY: the "site" API key provided by reCAPTCHA. Must be a string.
Considerations
If you have any browser extensions installed for privacy (such as Privacy Badger) you may want to whitelist your domain.
If you enter either of your API keys incorrectly, it is possible to get locked out of your site. You should be able to work around this by setting the corresponding constant.
Compatibility
The plugin is tested with the Google Authenticator plugin and the GA Per-User Prompt plugin.
It should work, but is not tested with any other plugins that modify wp-login.php.
ssnepenthe/recaptcha-for-wp 适用场景与选型建议
ssnepenthe/recaptcha-for-wp 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 26 次下载、GitHub Stars 达 1, 最近一次更新时间为 2017 年 07 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 ssnepenthe/recaptcha-for-wp 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ssnepenthe/recaptcha-for-wp 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2017-07-20