This commit is contained in:
Javier Casares 2026-08-24 06:42:23 +00:00
commit c7a8d9efcc
7 changed files with 123 additions and 27 deletions

View file

@ -3,7 +3,7 @@
* Plugin Name: Manager (by ROBOTSTXT)
* Plugin URI: https://www.robotstxt.software/plugins/robotstxt-manager/
* Description: Client-side dashboard for the ROBOTSTXT plugin ecosystem. Lists the catalog from a remote Plugins Core install, resolves local install/update state, and installs, activates, and updates plugins directly from the store.
* Version: 1.6.1
* Version: 1.7.0
* Requires at least: 4.4
* Requires PHP: 8.0
* Update URI: https://www.robotstxt.software/plugins/robotstxt-manager/
@ -23,7 +23,7 @@ if ( ! defined( 'ABSPATH' ) ) {
}
/** Plugin version. */
define( 'ROBOTSTXT_MANAGER_VERSION', '1.6.1' );
define( 'ROBOTSTXT_MANAGER_VERSION', '1.7.0' );
/** Absolute path to the plugin directory, with trailing slash. */
define( 'ROBOTSTXT_MANAGER_DIR', plugin_dir_path( __FILE__ ) );
@ -34,6 +34,14 @@ define( 'ROBOTSTXT_MANAGER_URL', plugin_dir_url( __FILE__ ) );
/** Plugin basename. */
define( 'ROBOTSTXT_MANAGER_BASENAME', plugin_basename( __FILE__ ) );
// Presence flag for the ecosystem: other ROBOTSTXT plugins (Core, Mollie…)
// check defined( 'ROBOTSTXT_MANAGER_NOTICED' ) to detect that Manager is
// active without scanning the plugin list. Guarded so a double-load or a
// conflicting definition elsewhere cannot raise a fatal error.
if ( ! defined( 'ROBOTSTXT_MANAGER_NOTICED' ) ) {
define( 'ROBOTSTXT_MANAGER_NOTICED', true );
}
// Load Composer autoloader, with a manual fallback for environments where
// composer install has not been run.
if ( file_exists( ROBOTSTXT_MANAGER_DIR . 'vendor/autoload.php' ) ) {