Skip to content

Commit

Permalink
πŸ“ Document - Update Acorn boot priority (#520)
Browse files Browse the repository at this point in the history
* πŸ”§ Update Acorn boot priority

* revert translation key

* Update upgrading-acorn.md

---------

Co-authored-by: Ben Word <[email protected]>
  • Loading branch information
chrillep and retlehs authored Aug 30, 2024
1 parent b91d975 commit 4a57c75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions acorn/upgrading-acorn.md
Original file line number Diff line number Diff line change
@@ -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
---

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4a57c75

Please sign in to comment.