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

fix: work around dodgy strings


Replace *dodgy strings* for leveled `dirname` to comply with Automattic
plugin approval process.

Signed-off-by: default avatarBart Jaskulski <bjaskulski@protonmail.com>
parent 434f27b9
No related branches found
No related tags found
1 merge request!25replace dodgy path
......@@ -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__, 4) . '/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__, 4) . '/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