Rename
This commit is contained in:
@@ -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
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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();
|
||||
Generated
+2
-2
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user