This commit is contained in:
Javier Casares 2026-08-18 12:00:07 +00:00
commit 0c4fda16c0
26 changed files with 615 additions and 454 deletions

View file

@ -1,21 +1,20 @@
<?php
/**
* Plugin Name: Hello (by ROBOTSTXT)
* Plugin URI: https://git.robotstxt.es/ROBOTSTXT/robotstxt-hello
* Plugin URI: https://www.robotstxt.software/plugins/robotstxt-hello/
* Update URI: https://www.robotstxt.software/plugins/robotstxt-hello/
* Description: Adds a Hello admin page for demonstration purposes.
* Version: 1.2.3
* Requires at least: 6.5
* Requires PHP: 8.2
* Version: 1.2.5
* Requires at least: 4.0
* Requires PHP: 5.6
* Network: true
* Security: robotstxt@robotstxt.es
* Author: ROBOTSTXT
* Author URI: https://www.robotstxt.es/
* Author URI: https://www.robotstxt.software/
* Text Domain: robotstxt-hello
* Domain Path: /languages
* License: GPL-3.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Gitea Plugin URI: https://git.robotstxt.es/ROBOTSTXT/robotstxt-hello
* Primary Branch: main
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
*
* @package ROBOTSTXT_Hello
*/
@ -24,10 +23,9 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'ROBOTSTXT_HELLO_VERSION', '1.2.5' );
define( 'ROBOTSTXT_HELLO_FILE', __FILE__ );
require_once __DIR__ . '/includes/class-robotstxt-hello-plugin.php';
( new Robotstxt_Hello_Plugin() )->register();
// Initialize ROBOTSTXT updater (auto-configures from plugin headers).
require_once __DIR__ . '/robotstxt-updater.php';
Robotstxt_Updater::init( __FILE__ );