From a8fa7c28410e7ae218d3c975cf231df8409e4143 Mon Sep 17 00:00:00 2001 From: Leonard Breitkopf Date: Fri, 28 Jan 2022 18:12:14 +0100 Subject: [PATCH] Fix: Small pre-release fixes --- assets/admin/components/AdvancedCheckout/index.tsx | 1 - includes/utils.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/admin/components/AdvancedCheckout/index.tsx b/assets/admin/components/AdvancedCheckout/index.tsx index 5e4bd33..844b25b 100644 --- a/assets/admin/components/AdvancedCheckout/index.tsx +++ b/assets/admin/components/AdvancedCheckout/index.tsx @@ -6,7 +6,6 @@ import Book from '../vectors/Book' import Switch from '../Switch' import Panel from '../Panel' import Button from '../Button' -import Modal from '../Modal' import RulesModal, { RuleModel } from './RulesModal' diff --git a/includes/utils.php b/includes/utils.php index 14c7a22..769de65 100644 --- a/includes/utils.php +++ b/includes/utils.php @@ -42,7 +42,7 @@ public static function getBaseUrl() if (is_null(self::$rootUrl)) { $pathParts = explode('/', rtrim(dirname(__FILE__), '/')); array_pop($pathParts); - self::$rootUrl = implode('/', $pathParts); + self::$rootUrl = implode('/', $pathParts) . '/something.php'; } return plugins_url('/build', self::$rootUrl); @@ -58,7 +58,7 @@ public static function createAssetUrl($filePath) if (is_null(self::$rootUrl)) { $pathParts = explode('/', rtrim(dirname(__FILE__), '/')); array_pop($pathParts); - self::$rootUrl = implode('/', $pathParts); + self::$rootUrl = implode('/', $pathParts) . '/something.php'; } return plugins_url(