From 1ed4db293e7f5808f6cdc8ac71d1ca4737093dea Mon Sep 17 00:00:00 2001 From: Elliot Derhay Date: Wed, 29 Mar 2023 23:35:36 -0400 Subject: [PATCH] Use get_stylesheet_directory for theme root --- typerocket-v6.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typerocket-v6.php b/typerocket-v6.php index ef763c40..4e66a789 100644 --- a/typerocket-v6.php +++ b/typerocket-v6.php @@ -85,7 +85,7 @@ public function loadConfig() if( defined('TYPEROCKET_OVERRIDE_PATH') ) { $temp_dir = TYPEROCKET_OVERRIDE_PATH; } else { - $temp_dir = get_template_directory(); + $temp_dir = get_stylesheet_directory(); } // maybe get config from theme