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