mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 00:06:55 +02:00
Update numerous core classes to support the new wired() method, plus correct any found instances of the ProcessWire instance not being passed along to a Wire derived instance.
This commit is contained in:
@@ -61,7 +61,11 @@ abstract class AdminThemeFramework extends AdminTheme {
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->set('useAsLogin', false);
|
||||
}
|
||||
|
||||
public function wired() {
|
||||
$this->sanitizer = $this->wire('sanitizer');
|
||||
parent::wired();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user