fix: bugs
parent
ddca3cac
No related branches found
No related tags found
... | ... | @@ -108,9 +108,11 @@ final class Kernel { |
private function prepare_driver( ContainerInterface $container ): HookDriver { | ||
$loader = new CompositeBindingLoader(); | ||
foreach ( $this->extensions->bindings( $container ) as $bindings ) { | ||
$loader->add( $bindings ); | ||
} | ||
foreach ($this->extensions as $extension) { | ||
|
||
foreach ($extension->bindings($container) as $bindings) { | ||
$loader->add($bindings); | ||
} | ||
} | ||
$driver = new GenericDriver( | ||
$loader, | ||
... | ... |
<?php | ||
if ( ! ( PHP_VERSION_ID >= 72000 ) ) { | ||
if ( ! ( PHP_VERSION_ID >= 70200 ) ) { | ||
|
||
add_action( | ||
'admin_notices', | ||
function () { | ||
... | ... |