Skip to content
Snippets Groups Projects
Commit aae44bc6 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

Merge branch 'replace-dodgy-path' into 'master'

replace dodgy path

See merge request !25
parents 434f27b9 80a662f9
No related branches found
No related tags found
1 merge request!25replace dodgy path
Pipeline #157065 failed with stages
in 1 minute and 32 seconds
## [Unreleased]
### Changed
- Changed dodgy string with `../../..` for `dirname` with level parameter
## [3.2.0] - 2022-05-27
### Added
- support to gutenberg
......
......@@ -4,5 +4,5 @@ if ( ! defined( 'ABSPATH' ) ) {
} // Exit if accessed directly
?>
<script type="text/javascript">
<?php include dirname(__FILE__) . '/../../../../assets/js/gutenberg.js'; ?>
<?php include dirname(__FILE__, 5) . '/assets/js/gutenberg.js'; ?>
</script>
......@@ -4,5 +4,5 @@ if ( ! defined( 'ABSPATH' ) ) {
} // Exit if accessed directly
?>
<script type="text/javascript">
<?php include dirname(__FILE__) . '/../../../../assets/js/notice.min.js'; ?>
<?php include dirname(__FILE__, 5) . '/assets/js/notice.min.js'; ?>
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment