This commit is contained in:
Cooper Dalrymple
2026-06-04 13:05:07 -05:00
parent e5fadef788
commit bcfe35fa91
7 changed files with 55 additions and 27 deletions
+22
View File
@@ -0,0 +1,22 @@
all: install
reinstall: clean install
clean: clean-composer clean-npm
clean-composer:
rm -rf vendor/* || true
rm -rf lib/* || true
rm composer.lock || true
composer clearcache
clean-npm:
rm -rf node_modules/* || true
rm package-lock.json || true
install:
composer install
npm install
package: install
gulp package
+8 -5
View File
@@ -1,14 +1,17 @@
{
"$schema": "https://getcomposer.org/schema.json",
"name": "cleverogre/plugin",
"name": "cleverogre/ogre-captcha",
"version": "0.0.0",
"title": "Example",
"description": "Example plugin",
"title": "Ogre CAPTCHA",
"description": "Protect your site with CAPTCHA",
"author": "CleverOgre",
"license": "GPL-3.0+",
"keywords": [
"WordPress",
"Plugin"
"Plugin",
"Cap",
"CAPTCHA",
"Security"
],
"homepage": "https://cleverogre.com",
"repositories": {
@@ -45,7 +48,7 @@
},
"autoload": {
"files": [
"plugin.php"
"ogre-captcha.php"
]
}
}
+3 -3
View File
@@ -1,6 +1,6 @@
<?php
/**
* @package plugin
* @package ogre-captcha
* @author cleverogre
* @copyright 2026 CleverOgre
* @license GLP-3.0-or-later
@@ -8,10 +8,10 @@
* @since 0.0.0
*/
namespace Ogre\Example;
namespace Ogre\Captcha;
use Ogre\Singleton;
use Ogre\Example as Plugin;
use Ogre\Captcha as Plugin;
defined('ABSPATH') || exit;
+9 -9
View File
@@ -2,7 +2,7 @@
/**
* Plugin
*
* @package plugin
* @package ogre-captcha
* @author cleverogre
* @copyright 2026 CleverOgre
* @license GLP-3.0-or-later
@@ -10,30 +10,30 @@
* @since 0.0.0
*
* @wordpress-plugin
* Plugin Name: Example
* Plugin URI: https://git.cleverogre.com/cleverogre/plugin/
* Description: Example plugin
* Plugin Name: Ogre CAPTCHA
* Plugin URI: https://git.cleverogre.com/cleverogre/ogre-captcha/
* Description: Protect your site with CAPTCHA
* Version: 0.0.0
* Requires at least: 6.0
* Requires PHP: 8.2
* Author: CleverOgre
* Author URI: https://cleverogre.com/
* Text Domain: plugin
* Text Domain: ogre-captcha
* License: GPLv3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Update URI: https://git.cleverogre.com/cleverogre/plugin/
* Update URI: https://git.cleverogre.com/cleverogre/ogre-captcha/
* Domain Path: /lang
*/
namespace Ogre;
use Ogre\Example\Settings;
use Ogre\Captcha\Settings;
defined('ABSPATH') || exit;
require_once 'vendor/autoload.php';
final class Example extends Plugin {
final class Captcha extends Plugin {
protected function __construct() {
parent::__construct();
@@ -66,4 +66,4 @@ final class Example extends Plugin {
}
Example::instance();
Captcha::instance();
+2 -2
View File
@@ -1,11 +1,11 @@
{
"name": "cleverogre/plugin",
"name": "cleverogre/ogre-captcha",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "cleverogre/plugin",
"name": "cleverogre/ogre-captcha",
"version": "0.0.0",
"license": "GPL-3.0+",
"devDependencies": {
+7 -4
View File
@@ -1,14 +1,17 @@
{
"$schema": "https://www.schemastore.org/package.json",
"name": "cleverogre/plugin",
"name": "cleverogre/ogre-captcha",
"version": "0.0.0",
"title": "Example",
"description": "Example plugin",
"title": "Ogre CAPTCHA",
"description": "Protect your site with CAPTCHA",
"author": "CleverOgre",
"license": "GPL-3.0+",
"keywords": [
"WordPress",
"Plugin"
"Plugin",
"Cap",
"CAPTCHA",
"Security"
],
"homepage": "https://cleverogre.com",
"engines": {
+4 -4
View File
@@ -1,4 +1,4 @@
=== Example ===
=== Ogre CAPTCHA ===
Contributors: ogrecooper, cleverogre
Tested up to: 7.0
Requires at least: 6.0
@@ -8,9 +8,9 @@ License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Copyright: CleverOgre
Donate link: https://cleverogre.com/
Tags: wordpress, plugin
Tags: wordpress, plugin, cap, captcha, security
Example plugin
Protect your site with CAPTCHA
== Installation ==
@@ -28,5 +28,5 @@ If you don't know what plugin you have downloaded, please contact [CleverOgre](t
== Changelog ==
= 0.0.0 - YYYY-MM-DD =
= 0.1.0 - 2026-06-04 =
* Initial release