Prevent double loading
This commit is contained in:
@@ -41,6 +41,8 @@ defined('ABSPATH') || exit;
|
||||
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
if (!class_exists('Ogre\Captcha')) {
|
||||
|
||||
final class Captcha extends Plugin {
|
||||
|
||||
public static function is_woocommerce_active():bool {
|
||||
@@ -121,3 +123,5 @@ final class Captcha extends Plugin {
|
||||
}
|
||||
|
||||
Captcha::instance();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user