src/Registrar/Page_Dispatcher.php
Method admin_exception_notice
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function admin_exception_notice( $object, Throwable $exception ): void {
add_action(
'admin_notices',
function() use ( $object, $exception ) {
$class = 'notice notice-error';