Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Document - Update Acorn boot priority #520

Merged
merged 3 commits into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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