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
fe4d0a5f
Commit
fe4d0a5f
authored
5 years ago
by
Dyszczo
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix/prefixer' into 'master'
security for templates + prefixer See merge request
!16
parents
9424a128
9e5b7cec
No related branches found
Branches containing commit
Tags
3.1.1
Tags containing commit
1 merge request
!16
security for templates + prefixer
Pipeline
#10451
failed with stages
in 2 minutes and 44 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+5
-1
5 additions, 1 deletion
CHANGELOG.md
src/WPDesk/Notice/views/admin-head-js.php
+5
-0
5 additions, 0 deletions
src/WPDesk/Notice/views/admin-head-js.php
with
10 additions
and
1 deletion
CHANGELOG.md
+
5
−
1
View file @
fe4d0a5f
## [3.1.1] - 2019-07-30
### Fixed
-
Security for templates as side effect is generated there. Also required for prefixer compatibility
## [3.1.0] - 2019-06-25
### Added
-
close notice on .notice-dismiss-link class
-
source field in ajax action
\ No newline at end of file
-
source field in ajax action
This diff is collapsed.
Click to expand it.
src/WPDesk/Notice/views/admin-head-js.php
+
5
−
0
View file @
fe4d0a5f
<?php
if
(
!
defined
(
'ABSPATH'
)
)
{
exit
;
}
// Exit if accessed directly
?>
<script
type=
"text/javascript"
>
<?php
include
dirname
(
__FILE__
)
.
'/../../../../assets/js/notice.min.js'
;
?>
...
...
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