v0.3.1
This commit is contained in:
parent
65a00cf6ab
commit
681147e8e3
11 changed files with 567 additions and 25 deletions
|
|
@ -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', '' ) ) {
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue