This commit is contained in:
Javier Casares 2026-08-14 07:55:23 +00:00
commit 681147e8e3
11 changed files with 567 additions and 25 deletions

View file

@ -44,7 +44,7 @@ class Robotstxt_Manager_Activator {
*/
private static function ensure_defaults(): void {
if ( '' === get_option( 'robotstxt_manager_store_url', '' ) ) {
update_option( 'robotstxt_manager_store_url', 'https://plugins.robotstxt.es' );
update_option( 'robotstxt_manager_store_url', 'https://www.robotstxt.software' );
}
if ( '' === get_option( 'robotstxt_manager_cache_ttl_minutes', '' ) ) {

View file

@ -59,11 +59,13 @@ final class Robotstxt_Manager_Plugin {
private function define_hooks(): void {
$this->loader->add_action( 'init', $this, 'load_textdomain' );
$admin = new Robotstxt_Manager_Admin();
$settings = new Robotstxt_Manager_Settings();
$admin = new Robotstxt_Manager_Admin();
$settings = new Robotstxt_Manager_Settings();
$installer = new Robotstxt_Manager_Installer();
$admin->register( $this->loader );
$settings->register( $this->loader );
$installer->register( $this->loader );
}
/**