Revert "Remove Acorn as dependency; treat as requirement (#2825)" (#2826)

This reverts commit 653832edb2.
This commit is contained in:
QWp6t
2021-10-22 15:57:29 -07:00
committed by GitHub
parent 653832edb2
commit 7c034f42c6
3 changed files with 4101 additions and 61 deletions

View File

@@ -11,13 +11,7 @@
|
*/
try {
\Roots\bootloader();
} catch (Throwable $e) {
wp_die(
__('You need to install Acorn to use this theme.', 'sage')
);
}
/*
|--------------------------------------------------------------------------

View File

@@ -39,7 +39,8 @@
}
},
"require": {
"php": "^7.3|^8.0"
"php": "^7.3|^8.0",
"roots/acorn": "2.0.0-alpha.0"
},
"require-dev": {
"filp/whoops": "^2.12",

4151
composer.lock generated

File diff suppressed because it is too large Load Diff