Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-notice
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-notice
Commits
aae44bc6
Commit
aae44bc6
authored
2 years ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Plain Diff
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
!25
replace dodgy path
Pipeline
#157065
failed with stages
in 1 minute and 32 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+6
-0
6 additions, 0 deletions
CHANGELOG.md
src/WPDesk/Notice/views/admin-head-js-gutenberg.php
+1
-1
1 addition, 1 deletion
src/WPDesk/Notice/views/admin-head-js-gutenberg.php
src/WPDesk/Notice/views/admin-head-js.php
+1
-1
1 addition, 1 deletion
src/WPDesk/Notice/views/admin-head-js.php
with
8 additions
and
2 deletions
CHANGELOG.md
+
6
−
0
View file @
aae44bc6
## [Unreleased]
### Changed
-
Changed dodgy string with
`../../..`
for
`dirname`
with level parameter
## [3.2.0] - 2022-05-27
### Added
-
support to gutenberg
...
...
This diff is collapsed.
Click to expand it.
src/WPDesk/Notice/views/admin-head-js-gutenberg.php
+
1
−
1
View file @
aae44bc6
...
...
@@ -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>
This diff is collapsed.
Click to expand it.
src/WPDesk/Notice/views/admin-head-js.php
+
1
−
1
View file @
aae44bc6
...
...
@@ -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>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment