From 4a57c75296e828651272cb07a1815a13ff312180 Mon Sep 17 00:00:00 2001 From: Christian Widlund Date: Fri, 30 Aug 2024 15:41:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Document=20-=20Update=20Acorn=20?= =?UTF-8?q?boot=20priority=20(#520)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🔧 Update Acorn boot priority * revert translation key * Update upgrading-acorn.md --------- Co-authored-by: Ben Word --- acorn/upgrading-acorn.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/acorn/upgrading-acorn.md b/acorn/upgrading-acorn.md index 9af9a4a7..7ac6854d 100644 --- a/acorn/upgrading-acorn.md +++ b/acorn/upgrading-acorn.md @@ -1,10 +1,11 @@ --- -date_modified: 2024-08-02 13:45 +date_modified: 2024-08-30 08:45 date_published: 2023-01-13 13:12 description: Acorn v4 introduces some minimal breaking changes that may require updates when coming from Acorn v3. title: Upgrading Acorn authors: - ben + - chrillep - joshf --- @@ -153,7 +154,7 @@ if (! function_exists('\Roots\bootloader')) { ); } -\Roots\bootloader()->boot(); +add_action('after_setup_theme', fn () => \Roots\bootloader()->boot(), 0); ``` You can also remove the theme support added for Sage if you are working on a Sage-based WordPress theme: