From 25ef858d58ae2d82f07cb495eba848e372d5b25f Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sat, 4 Jan 2025 09:03:59 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Bootloader:=20Remove=20unnecessa?= =?UTF-8?q?ry=20wrapping=20action=20from=20inside=20theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/functions.php b/functions.php index b9f010d..9e3b351 100644 --- a/functions.php +++ b/functions.php @@ -33,16 +33,14 @@ require $composer; | */ -add_action('after_setup_theme', function () { - Application::configure() - ->withMiddleware(function (Middleware $middleware) { - // - }) - ->withExceptions(function (Exceptions $exceptions) { - // - }) - ->boot(); -}, 0); +Application::configure() + ->withMiddleware(function (Middleware $middleware) { + // + }) + ->withExceptions(function (Exceptions $exceptions) { + // + }) + ->boot(); /* |--------------------------------------------------------------------------