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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃尠 Ship Acorn #3189

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
}
},
"require": {
"php": ">=8.1"
"php": ">=8.1",
"roots/acorn": "^4.2"
},
"require-dev": {
"laravel/pint": "^1.13"
Expand All @@ -60,5 +61,10 @@
"App\\Providers\\ThemeServiceProvider"
]
}
},
"scripts": {
"post-autoload-dump": [
"Roots\\Acorn\\ComposerScripts::postAutoloadDump"
]
}
}
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

if (! function_exists('\Roots\bootloader')) {
wp_die(
__('You need to install Acorn to use this theme.', 'sage'),
__('You need to install Acorn to use this theme. Run <code>composer install</code> in your theme directory to fix this.', 'sage'),
'',
[
'link_url' => 'https://roots.io/acorn/docs/installation/',
Expand Down