Remove Acorn as dependency; treat as requirement (#2825)
This commit is contained in:
@@ -11,7 +11,13 @@
|
||||
|
|
||||
*/
|
||||
|
||||
\Roots\bootloader();
|
||||
try {
|
||||
\Roots\bootloader();
|
||||
} catch (Throwable $e) {
|
||||
wp_die(
|
||||
__('You need to install Acorn to use this theme.', 'sage')
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user