1
0
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:
Ryan Cramer
2020-05-29 14:09:17 -04:00
parent 365af73635
commit d2e381f987
38 changed files with 193 additions and 93 deletions

View File

@@ -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();
}
/**