Remove Acorn as dependency; treat as requirement (#2825)

This commit is contained in:
Ben
2021-10-22 15:48:51 -07:00
committed by GitHub
parent 385452469a
commit 653832edb2
3 changed files with 61 additions and 4101 deletions

View File

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