Skip to content

Commit

Permalink
Fix: Small pre-release fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard Breitkopf committed Jan 28, 2022
1 parent c52c847 commit a8fa7c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion assets/admin/components/AdvancedCheckout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
4 changes: 2 additions & 2 deletions includes/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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(
Expand Down

0 comments on commit a8fa7c2

Please sign in to comment.