Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| defa5fe39d | |||
| b8e0322245 |
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://getcomposer.org/schema.json",
|
||||
"name": "cleverogre/ogre-captcha",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"title": "Ogre CAPTCHA",
|
||||
"description": "Protect your site with CAPTCHA",
|
||||
"author": "CleverOgre",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author cleverogre
|
||||
* @copyright 2026 CleverOgre
|
||||
* @license GLP-3.0-or-later
|
||||
* @version 1.1.0
|
||||
* @version 1.1.1
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -24,14 +24,14 @@ GFForms::include_addon_framework();
|
||||
|
||||
final class Addon extends GFAddOn {
|
||||
use Singleton;
|
||||
|
||||
|
||||
protected $_min_gravityforms_version = '2.6.3.2';
|
||||
|
||||
public static function get_instance(): Addon {
|
||||
return self::instance();
|
||||
}
|
||||
|
||||
public function pre_init() {
|
||||
function __construct() {
|
||||
$this->_version = Plugin::get_version();
|
||||
$this->_slug = Plugin::get_id();
|
||||
$this->_path = sprintf(
|
||||
@@ -44,11 +44,15 @@ final class Addon extends GFAddOn {
|
||||
Plugin::get_title()
|
||||
);
|
||||
$this->_short_title = Plugin::get_title();
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function init() {
|
||||
add_filter('gform_submit_button', [$this, 'submit_button'], 10, 2);
|
||||
add_filter('gform_validation', [$this, 'validation'], 10, 2);
|
||||
|
||||
parent::init();
|
||||
}
|
||||
|
||||
public function get_menu_icon() {
|
||||
|
||||
+2
-2
@@ -6,14 +6,14 @@
|
||||
* @author cleverogre
|
||||
* @copyright 2026 CleverOgre
|
||||
* @license GLP-3.0-or-later
|
||||
* @version 1.1.0
|
||||
* @version 1.1.1
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @wordpress-plugin
|
||||
* Plugin Name: Ogre CAPTCHA
|
||||
* Plugin URI: https://git.cleverogre.com/cleverogre/ogre-captcha/
|
||||
* Description: Protect your site with CAPTCHA
|
||||
* Version: 1.1.0
|
||||
* Version: 1.1.1
|
||||
* Requires at least: 6.0
|
||||
* Requires PHP: 8.2
|
||||
* Author: CleverOgre
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://www.schemastore.org/package.json",
|
||||
"name": "cleverogre/ogre-captcha",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"title": "Ogre CAPTCHA",
|
||||
"description": "Protect your site with CAPTCHA",
|
||||
"author": "CleverOgre",
|
||||
|
||||
Reference in New Issue
Block a user