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

🌰 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 1 commit
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
Prev Previous commit
Add Acorn script to composer; clarify Acorn error message
  • Loading branch information
MWDelaney committed May 23, 2024
commit 1ba603f62b76652027ed4f2de58c346acb75bf46
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,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